diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-04-23 01:04:20 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-04-23 01:04:20 +0000 |
commit | 846a773bda69ecbf512f8e455e5695dbf868cda7 (patch) | |
tree | 8d449d023229fe77d6f8938f04fb9d4071526bec /source3/lib/module.c | |
parent | da6b12b93151e42aa561d8cceecdc50f7ce29eb4 (diff) | |
download | samba-846a773bda69ecbf512f8e455e5695dbf868cda7.tar.gz samba-846a773bda69ecbf512f8e455e5695dbf868cda7.tar.bz2 samba-846a773bda69ecbf512f8e455e5695dbf868cda7.zip |
Now that Volker fixed the real issues with ldapsam and adding null attributes
etc, move the SAMR create_user code back to using the 'pdb_init_sam_pw' method
to fill out the attributes.
This is basicly the same code, but we really didn't need the duplication.
Also, take advantage of the fact that RIDs will always be returned back into
the SAM_ACCOUNT on ADD, so we don't need to duplicate the 'get'.
This should also help in sites with replicated LDAP - the second fetch might
occour before the first is replicated back.
Andrew Bartlett
(This used to be commit 39714c24fd9da4701d4fe69ddd3d61a25254409f)
Diffstat (limited to 'source3/lib/module.c')
0 files changed, 0 insertions, 0 deletions