Univention Bugzilla – Bug 53519
Import naming scheme can lead into not working usernames (in Windows machines) f.e. con.*
Last modified: 2023-07-26 10:36:25 CEST
In Windows, there are some names that are reserved for special use (https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file). With our freely definable scheme in our import, we allow user names that can lead to such names. If this happens, no check takes place and diffuse errors occur under Windows. Most reserved names should be rare to non-existent, with con.* I can think of several names that can lead to such user names; as in the attached ticket.
The rules are for *file* names, not usernames. So I guess the problem is from files/dirs that have the same name as the user. If a user had the username "COM1" but a home directory and share "COM1home" would there still be a problem?
Help article for this problem: https://help.univention.com/t/problem-windows-loginprobleme-mit-bestimmten-usern/18065
Package: ucs-test-ucsschool Version: 7.3.128A~5.0.0.202305010748 Package: ucs-school-lib Version: 13.0.34A~5.0.0.202305010748
This bug was additionally fixed in the app ucsschool-kelvin-rest-api with version 1.8.8. See the changelog in https://appcenter.software-univention.de/univention-repository/4.4/maintained/component/ucsschool-kelvin-rest-api_20230330115604/README_UPDATE_EN
Errata updates for UCS@school 5.0 v3 have been released. https://docs.software-univention.de/ucsschool-changelog/5.0v3/de/changelog.html If this error occurs again, please clone this bug.