[Samba] max. length of a username

Helmut Hullen Hullen at t-online.de
Mon Jul 6 05:59:00 GMT 2009


Hallo, John,

Du meintest am 05.07.09:

>> how long may a valid samba username be?

> Many older UNIX systems limit usernames to 8 characters.

> Under OpenSUSE 11.2 (not yet released) it is possible to use the
> "useradd" utility to add a username up to 29 characters in length.

In a linux newsgroup I was just told that glibc uses 32 characters to  
distinguish but allows more characters.

> It is possible to add that user to the tdbsam password backend using
> "smbpasswd -a".  That account is valid within Samba (at least using
> smbclient).

Just for clarification: "smbpasswd" and other samba programs have no  
individual length limit?

> So the answer is: "What is the limit of the operating system that is
> hosting your Samba?"

Ok - I'll try ... thank you!

Viele Gruesse!
Helmut


More information about the samba mailing list