summaryrefslogtreecommitdiffstats
path: root/ldap/servers/plugins/replication/windows_inc_protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldap/servers/plugins/replication/windows_inc_protocol.c')
-rw-r--r--ldap/servers/plugins/replication/windows_inc_protocol.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/ldap/servers/plugins/replication/windows_inc_protocol.c b/ldap/servers/plugins/replication/windows_inc_protocol.c
index c02e6610..e7df5a38 100644
--- a/ldap/servers/plugins/replication/windows_inc_protocol.c
+++ b/ldap/servers/plugins/replication/windows_inc_protocol.c
@@ -812,6 +812,12 @@ windows_inc_run(Private_Repl_Protocol *prp)
}
else
{
+ /* call begin incremental update callback */
+ winsync_plugin_call_begin_update_cb(prp->agmt,
+ windows_private_get_directory_subtree(prp->agmt),
+ windows_private_get_windows_subtree(prp->agmt),
+ 0 /* is_total == FALSE */);
+
rc = send_updates(prp, ruv, &num_changes_sent);
if (rc == UPDATE_NO_MORE_UPDATES)
{
@@ -874,6 +880,12 @@ windows_inc_run(Private_Repl_Protocol *prp)
if (rc == UPDATE_TIMEOUT) {
windows_conn_disconnect(prp->conn);
}
+ /* call end incremental update callback */
+ winsync_plugin_call_end_update_cb(prp->agmt,
+ windows_private_get_directory_subtree(prp->agmt),
+ windows_private_get_windows_subtree(prp->agmt),
+ 0 /* is_total == FALSE */);
+
if (rc == UPDATE_NO_MORE_UPDATES && num_changes_sent > 0)
{
if (pausetime > 0)