Fixes to our LDAP/vampire codepaths:
authorAndrew Bartlett <abartlet@samba.org>
Sat, 5 Jul 2003 09:46:12 +0000 (09:46 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 5 Jul 2003 09:46:12 +0000 (09:46 +0000)
commita3ddfa5069c9df07626135aa5fd2ec411c41943f
tree4c66505e3ca16e2db518143ebbf6e999f3a24b9d
parentd809ad1d1999b097ff30952b9d14cf5aaa72562e
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
(This used to be commit c7118cb31dac24db3b762fe68ce655b17ea102e0)
source3/include/passdb.h
source3/lib/smbldap.c
source3/passdb/passdb.c
source3/passdb/pdb_get_set.c
source3/passdb/pdb_ldap.c
source3/sam/idmap_util.c
source3/utils/net_rpc_samsync.c