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)
commitc7118cb31dac24db3b762fe68ce655b17ea102e0
tree5cdb0447df9951e519933826b046e1ec889b3cf6
parent7cfa1e7c4abee10fe8c75e36aee68ee9f557656e
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
source/include/passdb.h
source/lib/smbldap.c
source/passdb/passdb.c
source/passdb/pdb_get_set.c
source/passdb/pdb_ldap.c
source/sam/idmap_util.c
source/utils/net_rpc_samsync.c