Bug 53519 - Import naming scheme can lead into not working usernames (in Windows machines) f.e. con.*
Import naming scheme can lead into not working usernames (in Windows machines...
Product: UCS@school
Classification: Unclassified
Component: Import scripts
Other Linux
: P5 normal (vote)
: UCS@school 5.0 v3-errata
Assigned To: Carlos García-Mauriño
Ole Schwiegert
Depends on:
Blocks: 56056 56152
  Show dependency treegraph
Reported: 2021-06-28 09:22 CEST by Dirk Schnick
Modified: 2023-07-26 10:36 CEST (History)
7 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.046
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2021061521000105
Bug group (optional):
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Schnick univentionstaff 2021-06-28 09:22:37 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.
Comment 1 Daniel Tröder univentionstaff 2023-02-06 18:39:47 CET
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?
Comment 3 Jan-Luca Kiok univentionstaff 2023-02-08 09:15:08 CET
Help article for this problem: https://help.univention.com/t/problem-windows-loginprobleme-mit-bestimmten-usern/18065
Comment 4 Carlos García-Mauriño univentionstaff 2023-05-01 08:56:03 CEST
Package: ucs-test-ucsschool
Version: 7.3.128A~

Package: ucs-school-lib
Version: 13.0.34A~
Comment 5 Johannes Königer univentionstaff 2023-05-04 15:17:09 CEST
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
Comment 6 J Leadbetter univentionstaff 2023-05-24 19:23:04 CEST
Errata updates for UCS@school 5.0 v3 have been released.


If this error occurs again, please clone this bug.