s4-drs: added DSDB_REPL_FLAG_ADD_NCNAME to DsAddEntry call
authorAndrew Tridgell <tridge@samba.org>
Tue, 27 Sep 2011 23:31:38 +0000 (09:31 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 4 Oct 2011 04:08:57 +0000 (15:08 +1100)
we want new NCs to be created

source4/rpc_server/drsuapi/addentry.c

index fc78b875c771e87c6b0e15d30f60ca9586098731..9919eae61a06c9983d36dbd6072f1b5583cee41e 100644 (file)
@@ -196,6 +196,7 @@ WERROR dcesrv_drsuapi_DsAddEntry(struct dcesrv_call_state *dce_call, TALLOC_CTX
                                                    mem_ctx,
                                                    first_object,
                                                    &num,
+                                                   DSDB_REPL_FLAG_ADD_NCNAME,
                                                    &ids);
                if (!W_ERROR_IS_OK(status)) {
                        r->out.ctr->ctr3.err_data->v1.status = status;