Re: FeedbackNeeded -- Re: [Samba] Winbind and case sensitivity (revisited)

2004-09-02 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tom Shaw wrote:
| Note that my original problem was fixed when I sent
| in this patch:
|
| http://lists.samba.org/archive/samba-technical/2004-July/036575.html
|
| That said, I still think it would be useful to
| flatten usernames to lowercase in some cases.
Ironically it was this patch that broke winbindd in 3.0.6
for 'security = domain' in non-Samba domains.  Apparently
NT 4 DC's do not fill in the acct_name field in the net_samlogon
reply.  So anytime winbind_getpwnam() filled in information
from the netsamlogon_cache, the username would be NULL and
the getpwnam() call would return failure.
So i'll follow then "if you don't vote, you can't complain"
rule.  I'll work on flattening usernames to lower case.
And we'll provide some means up converting existing sites
to the new rule.


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
iD4DBQFBNyrRIR7qMdg1EfYRAm/1AJjU9XakCgNLQNsS6SnpKM/LLgxwAJ9ZUMC/
HANJUsqrQM6UXAxLzT1Z8Q==
=7whn
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: FeedbackNeeded -- Re: [Samba] Winbind and case sensitivity (revisited)

2004-09-01 Thread Tom Shaw
Note that my original problem was fixed when I sent in this patch:

http://lists.samba.org/archive/samba-technical/2004-July/036575.html

That said, I still think it would be useful to flatten usernames to
lowercase in some cases.

Tom

On Mon, 30 Aug 2004 09:34:46 -0500, Gerald (Jerry) Carter
<[EMAIL PROTECTED]> wrote:
> -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-
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba