Hi there The Release Notes for Samba 3.0.8 from Nov 7, 2004 stated the following: ==========================Change in Winbindd Behavior ========================== All usernames returned by winbindd are now converted to lower case for better consistency. This means any winbind installation relying on the winbind username will need to rename existing directories and/or files based on the username (%u and %U) to lower case (e.g. mv $name `echo $name | tr '[A-Z]' '[a-z]'`). This may include mail spool files, home directories, valid user lines in smb.conf, etc.... I do remember that when we upgraded from 3.0.7 to 3.0.8 back in November last year we had to rename all our existing directories and stuff as noted above. Now a couple months later our MIS department upgraded our Windows 2003 Server Domain Controllers to Service Pack 1 and we started experiencing incompatibilities with winbind. Looking at the latest Release Notes for Samba 3.0.20 from Aug 19, 2005 told me the following: Common bugs fixed in 3.0.14a include: o Compatibility issues between Winbind and Windows 2003 SP1 domain controllers (*2k3sp1*). So I upgraded to latest Samba 3.0.20 and indeed the compatibility issues with 2k3sp1 went away, but another thing I noticed is that winbind seems to have reverted back to pre 3.0.8 case sensitive username behavior. I had to rename all the directories and stuff again. Unfortunately now if somebody logs in using a lower case username it half way lets him log on, but then gdm hangs. The only way to successfully log on now is by exactly using the casing on the username as originally specified in the Windows Domain. Is this expected behavior? Why did you guys decide to change the username casing behavior again? Is there an easy way out (e.g. to avoid having to rename all the directories and stuff again and more importantly to avoid hanged logons if not using the exact casing on the username)? Any help is very much appreciated. Cheers Marcel -- Marcel Ziswiler mailto:marcel@ziswiler.com Schuelmatt 7 http://www.ziswiler.net CH-6018 Buttisholz mobile: +41 (76) 338-0382 Switzerland phone: +41 (41) 928-0509
Gerald (Jerry) Carter
2005-Aug-29 21:07 UTC
[Samba] Username Case Sensitivity vs. Lower Casing
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marcel Ziswiler wrote: | So I upgraded to latest Samba 3.0.20 and indeed the | compatibility issues with 2k3sp1 went away, but another | thing I noticed is that winbind seems to have | reverted back to pre 3.0.8 case sensitive username behavior. | I had to rename all the directories and stuff | again. Unfortunately now if somebody logs in using a | lower case username it half way lets him log on, but then | gdm hangs. The only way to successfully log on now is by | exactly using the casing on the username as | originally specified in the Windows Domain. | | Is this expected behavior? Why did you guys decide to | change the username casing behavior again? Is there an | easy way out (e.g. to avoid having to rename all the | directories and stuff again and more importantly to | avoid hanged logons if not using the exact casing on | the username)? I found it. Sorry. Try the winbindd patch at http://www.samba.org/samba/patches/ I think we also have a regression in the group name not being lower cased. Can you confirm? cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDE3j4IR7qMdg1EfYRApT9AKDLB8k7fYyeNmJTyQ/Lq21mF+EzMQCgn14e swevlJvMOGaQa1rYw0sKG00=vGil -----END PGP SIGNATURE-----
Thanks! I applied the winbindd_v1.patch and it at least partially fixed the problem: I can now log in again regardless of the casing of the entered username. I still get mixed casing on my home directory. gerald-carter login: gcarter Password: Creating directory '/home/GCarter'. Creating directory '/home/GCarter/.kde'. Creating directory '/home/GCarter/.kde/Autostart'. Creating directory '/home/GCarter/.xemacs'. Last login: Tue Aug 30 10:18:02 on :0 Any suggestions? ----- Original Message ----- From: "Gerald (Jerry) Carter" <jerry@samba.org> To: "Marcel Ziswiler" <marcel@ziswiler.com> Subject: Re: [Samba] Username Case Sensitivity vs. Lower Casing Date: Mon, 29 Aug 2005 16:07:04 -0500> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Marcel Ziswiler wrote: > > | So I upgraded to latest Samba 3.0.20 and indeed the > | compatibility issues with 2k3sp1 went away, but another > | thing I noticed is that winbind seems to have > | reverted back to pre 3.0.8 case sensitive username behavior. > | I had to rename all the directories and stuff > | again. Unfortunately now if somebody logs in using a > | lower case username it half way lets him log on, but then > | gdm hangs. The only way to successfully log on now is by > | exactly using the casing on the username as > | originally specified in the Windows Domain. > | > | Is this expected behavior? Why did you guys decide to > | change the username casing behavior again? Is there an > | easy way out (e.g. to avoid having to rename all the > | directories and stuff again and more importantly to > | avoid hanged logons if not using the exact casing on > | the username)? > > I found it. Sorry. Try the winbindd patch at > http://www.samba.org/samba/patches/ > > I think we also have a regression in the group name > not being lower cased. Can you confirm? > > > > > cheers, jerry > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.0 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFDE3j4IR7qMdg1EfYRApT9AKDLB8k7fYyeNmJTyQ/Lq21mF+EzMQCgn14e > swevlJvMOGaQa1rYw0sKG00> =vGil > -----END PGP SIGNATURE------- Marcel Ziswiler mailto:marcel@ziswiler.com Schuelmatt 7 http://www.ziswiler.net CH-6018 Buttisholz mobile: +41 (76) 338-0382 Switzerland phone: +41 (41) 928-0509