Hi, I'm successfully using winbind to authenticate a debian sarge workstation against an nt4 server. Works a treat. However, I have an odd situation where a user logs in for the first time as "John Smith" and gets created a "John Smith" directory in /home. *Then*, if they log in as "john smith", they get a second directory created as "john smith" in /home! (yes, our nt4 usernames have whitespace in them, and yes, it's a headache - but that's another story) This is for a network of 600 pupils and teachers, who cannot remember if they logged in lowercase, uppercase or both. How can I either (i) enforce lowercase only, or (ii) have winbind treat "John" and "john" the same? Thanks -- Matt ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matt Johnson wrote: | Hi, | | I'm successfully using winbind to authenticate a | debian sarge workstation against an nt4 server. | | Works a treat. | | However, I have an odd situation where a user logs in | for the first time as "John Smith" and gets created a | "John Smith" directory in /home. *Then*, if they log | in as "john smith", they get a second directory | created as "john smith" in /home! | | (yes, our nt4 usernames have whitespace in them, and | yes, it's a headache - but that's another story) | | This is for a network of 600 pupils and teachers, who | cannot remember if they logged in lowercase, uppercase | or both. | | How can I either (i) enforce lowercase only, or (ii) | have winbind treat "John" and "john" the same? This was fixed in a more recent release (3.0.9 ? maybe ....check the WHATSNEW) by internally converting all winbindd usernames and groups to lowercase regardless of what the user typed in. cheers, jerry ====================================================================Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "I never saved anything for the swim back." Ethan Hawk in Gattaca -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB7sPhIR7qMdg1EfYRAkv8AJsFzGVUh0abiSKY8QoJX7vT8wd0oQCeLd0W 3+Gk7/i270bHyaJdqTzyrXc=xMaU -----END PGP SIGNATURE-----
On 2005-01-19, Matt Johnson <johnsonmlw@yahoo.com> wrote:> Hi, > > I'm successfully using winbind to authenticate a > debian sarge workstation against an nt4 server. > > Works a treat. > > However, I have an odd situation where a user logs in > for the first time as "John Smith" and gets created a > "John Smith" directory in /home. *Then*, if they log > in as "john smith", they get a second directory > created as "john smith" in /home! > > (yes, our nt4 usernames have whitespace in them, and > yes, it's a headache - but that's another story) > > This is for a network of 600 pupils and teachers, who > cannot remember if they logged in lowercase, uppercase > or both. > > How can I either (i) enforce lowercase only, or (ii) > have winbind treat "John" and "john" the same?You're running mixed versions of Samba 3, I presume? Check the WHATSNEW.txt -- there was a change a few versions back to down-case all username automatically. Wil -- Wil Cooley wcooley@nakedape.cc Naked Ape Consulting http://nakedape.cc * * * * Linux, UNIX, Networking and Security Solutions * * * *