summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAnatoliy Atanasov <anatoliy.atanasov@postpath.com>2010-08-26 11:19:24 +0300
committerKamen Mazdrashki <kamenim@samba.org>2010-09-10 13:08:20 +0300
commitab01ce6e963b8251bdd3200bcfcf2a37068d3319 (patch)
tree97856c7ded218923c51a642ac4a8ec3aafad6740 /source4/dsdb
parent36e663ad712c062805f6b17c45c2ae7fa5141dd9 (diff)
downloadsamba-ab01ce6e963b8251bdd3200bcfcf2a37068d3319.tar.gz
samba-ab01ce6e963b8251bdd3200bcfcf2a37068d3319.tar.bz2
samba-ab01ce6e963b8251bdd3200bcfcf2a37068d3319.zip
s4/drs: update repsFrom only when we are not in getncchanges extended op
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/repl/drepl_out_helpers.c8
1 files 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!
*/