diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-01-14 14:37:22 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-01-14 15:37:59 +1100 |
commit | 88ec10b7576b8767b370db1c27ffe703eae852c3 (patch) | |
tree | a32af9201a27c3db09e2a7c327d4680694f97b11 /source4/dsdb/repl/drepl_out_helpers.c | |
parent | 60c5a5f39f6b5b709d3ecf97cbaed68f12181941 (diff) | |
download | samba-88ec10b7576b8767b370db1c27ffe703eae852c3.tar.gz samba-88ec10b7576b8767b370db1c27ffe703eae852c3.tar.bz2 samba-88ec10b7576b8767b370db1c27ffe703eae852c3.zip |
s4-drepl: switch drepl over to using the generic DRS options flags
WSPP uses a single set of flags for all these DRS operations.
Diffstat (limited to 'source4/dsdb/repl/drepl_out_helpers.c')
-rw-r--r-- | source4/dsdb/repl/drepl_out_helpers.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/dsdb/repl/drepl_out_helpers.c b/source4/dsdb/repl/drepl_out_helpers.c index a4f5d1faec..7b819ac4c3 100644 --- a/source4/dsdb/repl/drepl_out_helpers.c +++ b/source4/dsdb/repl/drepl_out_helpers.c @@ -547,11 +547,9 @@ static void dreplsrv_update_refs_trigger(struct tevent_req *req) r->in.req.req1.naming_context = &partition->nc; r->in.req.req1.dest_dsa_dns_name = ntds_dns_name; r->in.req.req1.dest_dsa_guid = service->ntds_guid; - r->in.req.req1.options = - DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE | - DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE; + r->in.req.req1.options = DRSUAPI_DRS_ADD_REF | DRSUAPI_DRS_DEL_REF; if (!samdb_rodc(service->task->lp_ctx)) { - r->in.req.req1.options |= DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE; + r->in.req.req1.options |= DRSUAPI_DRS_WRIT_REP; } rreq = dcerpc_drsuapi_DsReplicaUpdateRefs_send(drsuapi->pipe, r, r); |