Univention Bugzilla – Bug 53506
Syntax check for School-OU name only done on singleserver
Last modified: 2022-07-15 08:31:09 CEST
The regex for characters in an OU-name and their order is only applied, when an OU is created on a singleserver system. On multiserver systems this allows for invalid OU-names. Make sure the naming restrictions for OU-names are also applied on multiserver systems.
Possibility to reproduce the bug (UCS 5.0-1 errata 310, UCS@School 5.0 v1) on a multiserver environment: /usr/share/ucs-school-import/scripts/create_ou t€est1 test2 test3
qa QA - [x] code -> see mr - [x] changelog ok - [x] manual qa `*` `*` - `/usr/share/ucs-school-import/scripts/create_ou bad€ou_name somedcname` -> now raises the correct validation error (invalid school name) - the tests runs on primary, replica (and backup, although we don't have a jenkins test for this) please merge + build
The syntax check of school ou names is now done on single-server and multi-server environments with commit bd1e7329f. A test for the school name validation has been added with commit 63ee1c59f.
all ok - changelog - advisory - merge - test passes in single + multiserver env https://univention-dist-jenkins.k8s.knut.univention.de/job/UCSschool-5.0/job/Install%20Singleserver/66/Config=s4-all-components,TestGroup=base1,UCSRelease=testing/testReport/90_ucsschool/01_test_school_validation/test_schoolname_validation/ https://univention-dist-jenkins.k8s.knut.univention.de/job/UCSschool-5.0/job/Install%20Multiserver/lastCompletedBuild/Config=s4,TestGroup=base1,UCSRelease=testing/testReport/90_ucsschool/01_test_school_validation/test_schoolname_validation/
UCS@school 5.0 v2 has been released. https://docs.software-univention.de/changelog-ucsschool-5.0v2-de.html If this error occurs again, please clone this bug.