diff options
author | Matthieu Patou <mat@matws.net> | 2013-01-26 01:53:28 -0800 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-02-08 15:06:27 +1100 |
commit | fdca2f6ff47a389cb6300d3ea8327f8486de3c2a (patch) | |
tree | 0493b8250fd4e92c85f0d1211c5ea71366d04703 /source4/dsdb/repl | |
parent | 123954d94ee783bd241c89fa53fc902312176875 (diff) | |
download | samba-fdca2f6ff47a389cb6300d3ea8327f8486de3c2a.tar.gz samba-fdca2f6ff47a389cb6300d3ea8327f8486de3c2a.tar.bz2 samba-fdca2f6ff47a389cb6300d3ea8327f8486de3c2a.zip |
dsdb-repl: do not ask to add ref when doing getncchange for an exop
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/repl')
-rw-r--r-- | source4/dsdb/repl/drepl_out_helpers.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/dsdb/repl/drepl_out_helpers.c b/source4/dsdb/repl/drepl_out_helpers.c index 57205a8426..8ddce32269 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) { |