From a31c711ba7dcd7516fd7b4de8c602a2fc30672db Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 26 Apr 2010 16:44:44 +1000 Subject: s4-drs: allow getncchanges requests to non WRIT_REP partitions for extended ops Needed for RID allocation Pair-Programmed-With: Andrew Bartlett --- source4/dsdb/repl/drepl_out_helpers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/dsdb/repl/drepl_out_helpers.c b/source4/dsdb/repl/drepl_out_helpers.c index e8d2b24767..52b519c924 100644 --- a/source4/dsdb/repl/drepl_out_helpers.c +++ b/source4/dsdb/repl/drepl_out_helpers.c @@ -272,7 +272,8 @@ static void dreplsrv_op_pull_source_get_changes_trigger(struct tevent_req *req) struct drsuapi_DsReplicaCursorCtrEx *uptodateness_vector; struct tevent_req *subreq; - if ((rf1->replica_flags & DRSUAPI_DRS_WRIT_REP) == 0) { + if ((rf1->replica_flags & DRSUAPI_DRS_WRIT_REP) == 0 && + state->op->extended_op == DRSUAPI_EXOP_NONE) { return; } -- cgit