Hi I've had a look through the archives and found this discussion on winbind and case sensitivity: http://lists.samba.org/archive/samba/2004-February/080321.html The issue is that winbind will in some cases return a username capitalized as per the NT database (ie when the user is looked up by uid), and in other cases as per the way the user typed it (ie when the user is looked up by username). This has cause problems for me in integrating a Unix system into a Windows environment. Has anyone done any work on making a patch like the one Andrew Bartlett proposed? Andrew Bartlett wrote:> I would accept a patch that made samba 'forced' to lower > case. (It would lowercase all output, and force all input to be in > lower case).If nothing has been done yet, I'd be happy to have a go. The new option to smb.conf would be: winbind force case = lower/upper How does that sound? Tom Shaw
Gerald (Jerry) Carter
2004-Aug-30 14:35 UTC
FeedbackNeeded -- Re: [Samba] Winbind and case sensitivity (revisited)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tom Shaw wrote: | I've had a look through the archives and found | this discussion on winbind and case sensitivity: | http://lists.samba.org/archive/samba/2004-February/080321.html ... | The issue is that winbind will in some cases return | a username capitalized as per the NT database (ie when | the user is looked up by uid), and in other cases as | per the way the user typed it (ie when the | user is looked up by username). This has cause problems | for me in integrating a Unix system into a Windows | environment. | | Has anyone done any work on making a patch like the | one Andrew Bartlett proposed? Andrew and I spoke about this briefly on IRC last week while debugging a different winbindd bug. It would be a pretty trivial change but one that would have a large impact on existing sites I think. So the question is how many installations will break if winbindd all of a sudden starts lower casing usernames? If I can be adequate feedback on this, we'll consider making the change. cheers, jerry - --------------------------------------------------------------------- Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song"--Switchfoot (2003) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBMzsGIR7qMdg1EfYRAgBZAJ9ZyKhCAHvnd+IuzSyToiF7XVF/fQCgg6jz YXkKckL/BlBDctRji6nEEHg=SWjw -----END PGP SIGNATURE-----
Bjoern JACKE
2004-Aug-30 16:26 UTC
FeedbackNeeded -- Re: [Samba] Winbind and case sensitivity (revisited)
On 2004-08-30 at 17:30 +0200 Volker.Lendecke@SerNet.DE sent off:> On Mon, Aug 30, 2004 at 09:58:25AM -0500, Gerald (Jerry) Carter wrote: > > I'd be willing to include a conversion script to rename > > all the directories and/or files that are based on the > > username to lower case. > > I was already close to commit Bj?rn's convmv script from > http://j3e.de/linux/convmv/. This is done to convert a whole filesystem tree > from say 8859-1 to utf-8. VERY handy. This infrastructure can surely be > extended to lower-case everything. Or maybe it can already do it. Bj?rn?convmv can upper/lower already. it can upper lower virtually every charset becuase it first converts everything to utf-8, then does the case conversion and then converts back to the original encoding. When the encoding is not ASCII it has to be specified of course. Anyway - mass-case-changing is possible ;-) convmv -r --lower -f utf8 /path for example. Bjoern -- Bj?rn Jacke, SerNet Service Network GmbH Phone: +49-(0)551-370000-0, Fax: +49-(0)551-370000-9