CVS update: samba/source/passdb

Gerald Carter jerry at au2.samba.org
Tue Mar 27 04:18:19 EST 2001


Date:	Tuesday March 27, 2001 @ 4:18
Author:	jerry

Update of /data/cvs/samba/source/passdb
In directory samba:/tmp/cvs-serv25207/passdb

Modified Files:
      Tag: SAMBA_2_2
	passdb.c smbpass.c 
Log Message:
band aid fix for calling getpwnam() for every entry in smbpasswd
as we iterate over the list of account searching for a single
line.  The bug was that if a user existed in smbpasswd but not /etc/passwd
the search would be abandoned and no user's below the problem
line in smbpasswd would be examined.  

the iterate_getsam21pwrid or pwuid functions in passdb.c have not been
touched 'cause we need to do a getpwnam() call to get the necessary 
information.  Fixing the iterate_getsam21pwnam() function though does
speed up domain logons (the only case where the bug was currently showing
up) tremendously for large smbpasswd files (test against ~4,500 line
smbpasswd).




--jerry





More information about the samba-cvs mailing list