From 287e35f4cfe8be3663afcde50d9cc66e120c43b6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 29 Sep 2010 22:04:21 -0700 Subject: s4-drepl: fixed the checking of replica_flags in the drepl server we were incorrectly avoiding a getncchanges when WRIT_REP was not set Pair-Programmed-With: Anatoliy Atanasov --- source4/dsdb/repl/drepl_out_helpers.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'source4/dsdb/repl') diff --git a/source4/dsdb/repl/drepl_out_helpers.c b/source4/dsdb/repl/drepl_out_helpers.c index d2704ff133..1477d6fb54 100644 --- a/source4/dsdb/repl/drepl_out_helpers.c +++ b/source4/dsdb/repl/drepl_out_helpers.c @@ -337,11 +337,6 @@ static void dreplsrv_op_pull_source_get_changes_trigger(struct tevent_req *req) NTSTATUS status; uint32_t replica_flags; - if ((rf1->replica_flags & DRSUAPI_DRS_WRIT_REP) == 0 && - state->op->extended_op == DRSUAPI_EXOP_NONE) { - return; - } - r = talloc(state, struct drsuapi_DsGetNCChanges); if (tevent_req_nomem(r, req)) { return; @@ -389,8 +384,6 @@ static void dreplsrv_op_pull_source_get_changes_trigger(struct tevent_req *req) DEBUG(0,(__location__ ": Failed to construct partial attribute set : %s\n", nt_errstr(status))); return; } - - replica_flags &= ~DRSUAPI_DRS_WRIT_REP; } r->in.bind_handle = &drsuapi->bind_handle; -- cgit