From: Matthieu Patou Date: Sat, 26 Jan 2013 09:53:28 +0000 (-0800) Subject: dsdb-repl: do not ask to add ref when doing getncchange for an exop X-Git-Tag: tevent-0.9.18~276 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fdca2f6ff47a389cb6300d3ea8327f8486de3c2a;p=thirdparty%2Fsamba.git dsdb-repl: do not ask to add ref when doing getncchange for an exop Reviewed-by: Andrew Bartlett --- diff --git a/source4/dsdb/repl/drepl_out_helpers.c b/source4/dsdb/repl/drepl_out_helpers.c index 57205a84260..8ddce322696 100644 --- a/source4/dsdb/repl/drepl_out_helpers.c +++ b/source4/dsdb/repl/drepl_out_helpers.c @@ -439,6 +439,13 @@ static void dreplsrv_op_pull_source_get_changes_trigger(struct tevent_req *req) replica_flags &= ~DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING; } } + if (state->op->extended_op != DRSUAPI_EXOP_NONE) { + /* + * If it's an exop never set the ADD_REF even if it's in + * repsFrom flags. + */ + replica_flags &= ~DRSUAPI_DRS_ADD_REF; + } /* is this a full resync of all objects? */ if (state->op->options & DRSUAPI_DRS_FULL_SYNC_NOW) {