svn commit: samba r17246 - in branches: SAMBA_3_0/source/passdb SAMBA_3_0_23/source/passdb

Andrew Bartlett abartlet at samba.org
Tue Jul 25 22:32:18 GMT 2006


On Tue, 2006-07-25 at 21:48 +0000, jerry at samba.org wrote:
> Author: jerry
> Date: 2006-07-25 21:48:13 +0000 (Tue, 25 Jul 2006)
> New Revision: 17246
> 
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17246
> 
> Log:
> BUG 3964: lower case username prior to getpwnam() call in smbpasswd

An interesting bit if history here.  If this is the bit of code I
remember, this originally, called GetPwnam(), ie the 'try all cases'
code.  I didn't like that, and I changed it to use the username as found
in smbpasswd, on the theory that this would look up the correct case.

Looking at the bug, I see it didn't deal with getting the correct case
in the first place...

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20060726/8567d54b/attachment.bin


More information about the samba-technical mailing list