diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-04-26 18:43:46 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-26 19:06:06 +1000 |
commit | 159de40b0b5c2c3efc7bd4de83a15dc63299b730 (patch) | |
tree | 0a55344978e58373d8132a80f23ce7791be7d21b | |
parent | f66fcd96087fc0a65a214c0fa62b03048ff0c6d9 (diff) | |
download | samba-159de40b0b5c2c3efc7bd4de83a15dc63299b730.tar.gz samba-159de40b0b5c2c3efc7bd4de83a15dc63299b730.tar.bz2 samba-159de40b0b5c2c3efc7bd4de83a15dc63299b730.zip |
s4-drepl: don't send an UpdateRefs unless its a plain replication
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | source4/dsdb/repl/drepl_out_helpers.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/dsdb/repl/drepl_out_helpers.c b/source4/dsdb/repl/drepl_out_helpers.c index 60dccffb23..e8d2b24767 100644 --- a/source4/dsdb/repl/drepl_out_helpers.c +++ b/source4/dsdb/repl/drepl_out_helpers.c @@ -527,7 +527,9 @@ static void dreplsrv_op_pull_source_apply_changes_trigger(struct tevent_req *req we join the domain, but they quickly expire. We do it here so we can use the already established DRSUAPI pipe */ - dreplsrv_update_refs_trigger(req); + if (state->op->extended_op == DRSUAPI_EXOP_NONE) { + dreplsrv_update_refs_trigger(req); + } } static void dreplsrv_update_refs_done(struct tevent_req *subreq); |