s4/drs: update repsFrom only when we are not in getncchanges extended op fsmo-fixed
authorAnatoliy Atanasov <anatoliy.atanasov@postpath.com>
Thu, 26 Aug 2010 08:19:24 +0000 (11:19 +0300)
committerNadezhda Ivanova <nivanova@samba.org>
Thu, 26 Aug 2010 08:21:03 +0000 (11:21 +0300)
source4/dsdb/repl/drepl_out_helpers.c

index 8ce9d0f1a3a2a2535dbcea7e863fc5b23b892256..8ffa832eae34bf1d6aceea9148f088fd65bc8e1a 100644 (file)
@@ -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!
         */