summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-26 21:48:06 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-27 10:38:58 +1000
commit9b18b339c00953490158b40d291032b14e6fc645 (patch)
tree0b0e342c3fb81464e35182e4ad8f52233923088e /source4/dsdb
parent5fb60bc311dde5642b022d28a9d7af8cf6f4a5f7 (diff)
downloadsamba-9b18b339c00953490158b40d291032b14e6fc645.tar.gz
samba-9b18b339c00953490158b40d291032b14e6fc645.tar.bz2
samba-9b18b339c00953490158b40d291032b14e6fc645.zip
s4-repl: end repl request when not doing an UpdateRefs
otherwise the queue is stuck forever
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/repl/drepl_out_helpers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/dsdb/repl/drepl_out_helpers.c b/source4/dsdb/repl/drepl_out_helpers.c
index 52b519c924..56e1257987 100644
--- a/source4/dsdb/repl/drepl_out_helpers.c
+++ b/source4/dsdb/repl/drepl_out_helpers.c
@@ -530,6 +530,8 @@ static void dreplsrv_op_pull_source_apply_changes_trigger(struct tevent_req *req
*/
if (state->op->extended_op == DRSUAPI_EXOP_NONE) {
dreplsrv_update_refs_trigger(req);
+ } else {
+ tevent_req_done(req);
}
}