[Samba] [samba] strange: 20 characters max in samAccountName
mmuehlfeld at samba.org
Wed Jul 1 15:30:43 UTC 2015
as Rowland already said, it's an AD limitation.
Am 01.07.2015 um 16:44 schrieb mathias dufresne:
> I can log in using administrator account or any other having a short
> (enough) samAccountName.
> I tried to add @ad.domain.tld to samAccountName during log in process
> without any success.
Even if the @ character is allowed, your sAMAccountName attributes
should't contain it! You will run into problems some day with it. It's
the same with spaces, umlauts, etc.
If you see someone login with user at samdom.example.com, then this usually
isn't the sAMAccountName attribute. It's the value from the
If the account doesn't have a userPrincipalName attribute set, then you
can only use the value from sAMAccountName for login.
More information about the samba