summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-08-11 15:46:26 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-13 12:30:49 +1000
commit2993113a56032be89272a626a7ef4c436d73080a (patch)
treef34b8d5a77f3148232ed4b136067ea4134480e07 /source3
parentadd8505fde9d178b3a0dbb71a207485cdb8fc161 (diff)
downloadsamba-2993113a56032be89272a626a7ef4c436d73080a.tar.gz
samba-2993113a56032be89272a626a7ef4c436d73080a.tar.bz2
samba-2993113a56032be89272a626a7ef4c436d73080a.zip
s4-dsdb Add ability to force a particular SID in the upgrade case
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/pdb_samba4.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/passdb/pdb_samba4.c b/source3/passdb/pdb_samba4.c
index 5848c23de8..aa3352a658 100644
--- a/source3/passdb/pdb_samba4.c
+++ b/source3/passdb/pdb_samba4.c
@@ -580,7 +580,8 @@ static NTSTATUS pdb_samba4_create_user(struct pdb_methods *m,
/* Internally this uses transactions to ensure all the steps
* happen or fail as one */
- status = dsdb_add_user(state->ldb, tmp_ctx, name, acct_flags, &sid, &dn);
+ status = dsdb_add_user(state->ldb, tmp_ctx, name, acct_flags, NULL,
+ &sid, &dn);
if (!NT_STATUS_IS_OK(status)) {
talloc_free(tmp_ctx);
return status;