summaryrefslogtreecommitdiff
path: root/source4/rpc_server/samr
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 /source4/rpc_server/samr
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 'source4/rpc_server/samr')
-rw-r--r--source4/rpc_server/samr/dcesrv_samr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c
index 32aafcd23f..7d062ffff4 100644
--- a/source4/rpc_server/samr/dcesrv_samr.c
+++ b/source4/rpc_server/samr/dcesrv_samr.c
@@ -1205,7 +1205,8 @@ static NTSTATUS dcesrv_samr_CreateUser2(struct dcesrv_call_state *dce_call, TALL
return NT_STATUS_INVALID_PARAMETER;
}
- status = dsdb_add_user(d_state->sam_ctx, mem_ctx, account_name, r->in.acct_flags, &sid, &dn);
+ status = dsdb_add_user(d_state->sam_ctx, mem_ctx, account_name, r->in.acct_flags, NULL,
+ &sid, &dn);
if (!NT_STATUS_IS_OK(status)) {
return status;
}