Univention Bugzilla – Bug 49259
[4.3] make list of allowed special characters in usernames configurable
Last modified: 2023-03-25 06:52:03 CET
The list of allowed special characters in usernames should be configurable. Currently it is hard coded to the dot. The default characters are string.ascii_letters + string.digits (a-z a-Z 0-9).
Additional special characters in usernames can now be configured through the configuration key username:allowed_special_chars. The default is backwards compatible and contains only the dot. Only dash and underscore can also be used (resulting in the configuration value ".-_"). This is a limitation set by UDM. None of the special characters is allowed as first or last character of a username. [4.3] 39897b460 Bug #49259: static type information [4.3] 3c9bfda4e Bug #49259: allow configuration of allowed special characters in username [4.3] a4adcf1ba Bug #49259: adapt test of username generation [4.3] 98c14166b Bug #49259: manual update [4.3] b2b4c5bf0 Bug #49259: changelog [4.3] e89dab7e6 Bug #49259: advisory ucs-school-import (16.0.3-7) ucs-test-ucsschool (5.0.4-9)
Test Failed http://jenkins.knut.univention.de:8080/job/UCSschool-4.3/job/Install%20Singleserver/lastCompletedBuild/Config=s4,TestGroup=import1/testReport/90_ucsschool/215_import-users_illegal_chars_in_username/test/
Sorry - backporting error. [4.3 d25b52356] Bug #49259: fix error from backporting test ucs-test-ucsschool (5.0.4-12)
OK: code change OK: manual tests OK: ucs-test OK: advisory