summaryrefslogtreecommitdiff
path: root/source4/dsdb/repl/drepl_service.h
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_service.h
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_service.h')
-rw-r--r--source4/dsdb/repl/drepl_service.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/dsdb/repl/drepl_service.h b/source4/dsdb/repl/drepl_service.h
index 0f9684fa78..eb3cd045f9 100644
--- a/source4/dsdb/repl/drepl_service.h
+++ b/source4/dsdb/repl/drepl_service.h
@@ -108,6 +108,8 @@ struct dreplsrv_out_operation {
struct dreplsrv_partition_source_dsa *source_dsa;
struct composite_context *creq;
+
+ enum drsuapi_DsExtendedOperation extended_op;
};
struct dreplsrv_notify_operation {
@@ -204,6 +206,10 @@ struct dreplsrv_service {
/* an active notify operation */
struct dreplsrv_notify_operation *n_current;
} ops;
+
+ struct {
+ struct dreplsrv_partition_source_dsa *rid_manager_source_dsa;
+ } ridalloc;
};
#include "dsdb/repl/drepl_out_helpers.h"