Univention Bugzilla – Bug 33559
Schoolwizards check existing objectname with wildcards so all subsets of the string are blocked
Last modified: 2014-02-07 13:48:33 CET
Reported by a customer. The check for an already existing username is done with wildcards in the user wizard (*username*) -> if you create an user "abcd" the following new usernames will lead to "user already exists": a, b, ab, bc, cd, abc, bcd I was able to reproduce this in three environments. This also occurs with the class wizard. I didn't check computerwizard and schoolwizard, but I think its the same there.
I think it should be fixed for 3.1 and 3.2.
*** Bug 31570 has been marked as a duplicate of this bug. ***
subMatch of LDAP_Filter.forAll was used, not fullMatch. Fixed in ucs-school-3.2: ucs-school-umc-wizards 4.0.0-2.77.201312031333 ucsschool-3.1-R2: ucs-school-umc-wizards 3.0.1-2.78.201312031338 This was also a problem for mailPrimaryAddress, class' name, computer's name, computer's IP. Fixed those, too.
OK: wizard behaviour (username, classname, mailPrimaryAddress, computername, computer IP address) OK: code change ??: is has to be checked if a changelog is necessary
UCS@school 3.1 R2-3 has been released: http://download.univention.de/doc/release-notes-ucsschool-3.1-rev2-3.pdf If this error occurs again, please use "Clone This Bug".