Skip to content

Allow username to start with an alpha-numeric character#8

Open
smg-ca wants to merge 1 commit intolinuxmuster:bionicfrom
smg-ca:bionic
Open

Allow username to start with an alpha-numeric character#8
smg-ca wants to merge 1 commit intolinuxmuster:bionicfrom
smg-ca:bionic

Conversation

@smg-ca
Copy link

@smg-ca smg-ca commented Nov 5, 2025

There's no clue for the oldest and most restrictive username style (sAMAccountName) to not start with a upper-/lowercase or number character, so it should be used the alpha-numeric regex here.

Disallowed characters are: " / \ [ ] : ; | = , + * ? < > and shouldn't be longer than 20 chars.
Source: https://learn.microsoft.com/en-us/windows/win32/adschema/a-samaccountname

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant