summaryrefslogtreecommitdiff
path: root/source4/dsdb/repl/drepl_periodic.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-01-06 14:54:12 +1100
committerAndrew Tridgell <tridge@samba.org>2010-01-08 13:03:00 +1100
commit19e515aac7a6e5ce85cfd6905a1cc773277047a9 (patch)
tree867fe810c9f72c216eb5a157de50c7d0ea34c4ed /source4/dsdb/repl/drepl_periodic.c
parent8cd2bedee74ae8dfb3a19f9bdde4a568de4b44cd (diff)
downloadsamba-19e515aac7a6e5ce85cfd6905a1cc773277047a9.tar.gz
samba-19e515aac7a6e5ce85cfd6905a1cc773277047a9.tar.bz2
samba-19e515aac7a6e5ce85cfd6905a1cc773277047a9.zip
s4-repl: added request for RID allocation in drepl task
The drepl task now checks to see if our rIDAllocationPool is exhausted, and if it is then we queue a extended operation DsGetNCChanges call to ask the RID Manager to give us a new allocation pool. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/repl/drepl_periodic.c')
-rw-r--r--source4/dsdb/repl/drepl_periodic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/dsdb/repl/drepl_periodic.c b/source4/dsdb/repl/drepl_periodic.c
index 61d5598207..d2fbe45586 100644
--- a/source4/dsdb/repl/drepl_periodic.c
+++ b/source4/dsdb/repl/drepl_periodic.c
@@ -109,6 +109,8 @@ static void dreplsrv_periodic_run(struct dreplsrv_service *service)
/* the KCC might have changed repsFrom */
dreplsrv_refresh_partitions(service);
+ dreplsrv_ridalloc_check_rid_pool(service);
+
dreplsrv_run_pending_ops(service);
dreplsrv_notify_run_ops(service);
}