diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-01-06 17:18:42 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-01-08 13:03:01 +1100 |
commit | 2590b7795d38728f53f795c2b60b32ace9ca5c4b (patch) | |
tree | 071878bd7763edb8c2241fd65f35575d81c1f878 /source4/dsdb/repl/drepl_service.c | |
parent | cc7967b1c0555ba7641fb0248077295521f74943 (diff) | |
download | samba-2590b7795d38728f53f795c2b60b32ace9ca5c4b.tar.gz samba-2590b7795d38728f53f795c2b60b32ace9ca5c4b.tar.bz2 samba-2590b7795d38728f53f795c2b60b32ace9ca5c4b.zip |
s4-repl: implement MSG_DREPL_ALLOCATE_RID
When the repl server gets MSG_DREPL_ALLOCATE_RID it contacts the RID
Manager to ask for another RID pool. We use a callback on completion
of the operation to make sure that we don't have two RID allocation
requests in flight at once
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/repl/drepl_service.c')
-rw-r--r-- | source4/dsdb/repl/drepl_service.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/dsdb/repl/drepl_service.c b/source4/dsdb/repl/drepl_service.c index a05ccc8d70..44164ff68f 100644 --- a/source4/dsdb/repl/drepl_service.c +++ b/source4/dsdb/repl/drepl_service.c @@ -206,6 +206,7 @@ static void dreplsrv_task_init(struct task_server *task) irpc_add_name(task->msg_ctx, "dreplsrv"); IRPC_REGISTER(task->msg_ctx, drsuapi, DRSUAPI_DSREPLICASYNC, drepl_replica_sync, service); + messaging_register(task->msg_ctx, service, MSG_DREPL_ALLOCATE_RID, dreplsrv_allocate_rid); } /* |