CVS update: samba/source/passdb

abartlet at samba.org abartlet at samba.org
Sat Jul 5 19:46:12 EST 2003


Date:	Sat Jul  5 09:46:11 2003
Author:	abartlet

Update of /home/cvs/samba/source/passdb
In directory dp.samba.org:/tmp/cvs-serv606/passdb

Modified Files:
      Tag: SAMBA_3_0
	passdb.c pdb_get_set.c pdb_ldap.c 
Log Message:
Fixes to our LDAP/vampire codepaths:

 - Try better to add the appropriate mapping between UID and SIDs, based
   on Get_Pwnam()
 - Look for previous users (lookup by SID) and correctly modify the existing
   entry in that case
 - Map the root user to the Admin SID as a 'well known user'
 - Save the LDAPMessage result on the SAM_ACCOUNT for use in the next 'update'
   call on that user.  This means that VL's very nice work on atomic LDAP 
   updates now really gets used properly!
 - This also means that we know the right DN to update, without the extra
   round-trips to the server.

Andrew Bartlett


Revisions:
passdb.c		1.151.2.27 => 1.151.2.28
	http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/passdb.c.diff?r1=1.151.2.27&r2=1.151.2.28
pdb_get_set.c		1.8.2.11 => 1.8.2.12
	http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_get_set.c.diff?r1=1.8.2.11&r2=1.8.2.12
pdb_ldap.c		1.28.2.74 => 1.28.2.75
	http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_ldap.c.diff?r1=1.28.2.74&r2=1.28.2.75



More information about the samba-cvs mailing list