From ab01ce6e963b8251bdd3200bcfcf2a37068d3319 Mon Sep 17 00:00:00 2001 From: Anatoliy Atanasov Date: Thu, 26 Aug 2010 11:19:24 +0300 Subject: s4/drs: update repsFrom only when we are not in getncchanges extended op --- source4/dsdb/repl/drepl_out_helpers.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source4/dsdb/repl/drepl_out_helpers.c b/source4/dsdb/repl/drepl_out_helpers.c index 8ce9d0f1a3..8ffa832eae 100644 --- a/source4/dsdb/repl/drepl_out_helpers.c +++ b/source4/dsdb/repl/drepl_out_helpers.c @@ -522,10 +522,10 @@ static void dreplsrv_op_pull_source_apply_changes_trigger(struct tevent_req *req tevent_req_nterror(req, nt_status); return; } - - /* if it applied fine, we need to update the highwatermark */ - *state->op->source_dsa->repsFrom1 = rf1; - + if (state->op->extended_op == DRSUAPI_EXOP_NONE) { + /* if it applied fine, we need to update the highwatermark */ + *state->op->source_dsa->repsFrom1 = rf1; + } /* * TODO: update our uptodatevector! */ -- cgit