samba user name case sensitivity
Peter Michael Düppenbecker
peter at dueppenbecker.de
Tue Jan 23 19:37:44 GMT 2001
you're right: Most client's (for example Windows) send the username and
password in capital letters. So, Samba does following:
1. Samba checks the username/password as they are submitted by the Client
2. Samba checks the usename/password in all lowercase letters
3. Samba checks the username/password in all lowercase letters with only the
first letter capitalized
But this doesn't help if you have a username like MrSuperman because Samba
only tests the name with MRSUPERMAN, mrsuperman and Mrsuperman. But you can
solve the problem with the global smb.conf parameters "username level" and
"password level". These parameters specify how many capital letters to use
when trying to match a username or password.
username level = 8
(Of course, this doesn't work if you've got 2 Unix users like MrSuperman and
mrsuperman. But using such similar usernames should be avoided for many
----- Original Message -----
From: <Anthony.M.Asleson at seagate.com>
To: <samba at us5.samba.org>
Sent: Tuesday, January 23, 2001 1:18 AM
Subject: samba user name case sensitivity
> I have an account on my linux box that has both upper and lower case in
> user name (and home directory) and this is the only account I cannot get
> working with samba. I am using encrypted passwords and all of the other
> accounts work, but they have lower case user names. smbpasswd does not
> appear to be case sensitive when changing user passwords, although the
> smbpasswd file appears to be stored in a case sensitive format.
> It looks like to me that share names, user names and hostnames are all
> in-sensitive when connecting to a windows server with smbclient. It also
> appears that this is true for samba (as long as the unix user name is all
> lower case).
> Changing the user name to all lower case is not an option at this time.
> Using NT 4.0 sp5 and samba 2.07
> Any ideas?
More information about the samba