mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
r20292: set ntds_dn_str if DsAddEntry() was successful
metze
(This used to be commit 5cb5986067
)
This commit is contained in:
parent
fdf95ba005
commit
ce38e5368e
@ -1472,6 +1472,10 @@ static void becomeDC_drsuapi1_add_entry_recv(struct rpc_request *req)
|
||||
|
||||
talloc_free(r);
|
||||
|
||||
s->dest_dsa.ntds_dn_str = talloc_asprintf(s, "CN=NTDS Settings,%s",
|
||||
s->dest_dsa.server_dn_str);
|
||||
if (composite_nomem(s->dest_dsa.ntds_dn_str, c)) return;
|
||||
|
||||
c->status = becomeDC_prepare_db(s);
|
||||
if (!composite_is_ok(c)) return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user