Unix password sync and mixed-case usernames

Gerald Carter gcarter at valinux.com
Fri Jun 15 00:31:25 GMT 2001

On Tue, 12 Jun 2001, Andreas Haumer wrote:

> Hi!
> I hate to reply to myself, but as I haven't got any
> response to my original message from June 2nd, and as
> function chgpasswd() still contains this strlower(name) call
> (I just did a CVS update to my working copy), which
> effectiviely disables a correct Unix password sync with
> mixed-case usernames, I would like to ask again if this
> call to strlower() could be removed...
> Or did I miss something? Is there any other (preferred) way
> to do Unix password sync with mixed-case usernames?
> Comments, anyone?

Probably what we need to do is a Get_Pwnam(user, True) call
in order to deal with WIn9x clients that upper case the username
before sending it.

I'll look into it next week.

   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com/  VA Linux Systems   gcarter at valinux.com
       http://www.samba.org/       SAMBA Team          jerry at samba.org
       http://www.plainjoe.org/                     jerry at plainjoe.org

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )

More information about the samba-technical mailing list