[BUG] Problem with Case Sensitivity for Usernames between a Samba PDC & Windows

Andrew Bartlett abartlet at pcug.org.au
Fri May 17 19:15:02 GMT 2002

Ol Dirty wrote:
> - Compiled Samba version 2.2.4
> - Slackware Linux, Kernel 2.4.17
> - Windows 2000 Professional, SP2
> Here's what I know:
> You have username MyNetworkUsername (exactly with case) in /etc/samba/smbpasswd and /etc/passwd.
> You have Samba running as a PDC, with unix password sync enabled. Password Sync options at default for the most part (passwd program = /usr/bin/passwd %u).
> In W2K, you <ctrl-alt-tab> and change the password.  You enter in the correct tokens, with the username 'MyNetworkUsername', and the password sync will fail.
> Samba debug logs show that:
> [2002/05/17 18:24:00, 0] smbd/chgpasswd.c:dochild(128)
>   dochild: user name mynetworkusername doesn't exist in the UNIX password database.
> However, when password sync is disabled, the password change WILL be successful.

I think this is fixed in HEAD and samba_3_0.  This is one of really ugly
bits of samba, and I don't think I really want to mess with it in 2.2.

That said, if sombody wants to knock up a patch, another team member
might be able to get it into 2.2.5.

Andrew Bartlett

Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net

More information about the samba-technical mailing list