dsdb-drepl: create a new schedulable event for running pending operations
authorMatthieu Patou <mat@matws.net>
Wed, 15 May 2013 11:46:33 +0000 (04:46 -0700)
committerStefan Metzmacher <metze@samba.org>
Wed, 15 May 2013 12:31:40 +0000 (14:31 +0200)
commit54f4536980d86faf532708c92890dd9e8b09667a
tree7337fb672061b5a045432c2ad229cfe04f4413ce
parent8c3fa009ca6e80bf6e8f9daf786b3ec490c735af
dsdb-drepl: create a new schedulable event for running pending operations

So instead of running dreplsrv_periodic_schedule when receiving a
DRS_REPLICA_SYNC request which will force the DC to look for changes
with all the DC it usually replicate to, we reduce it to the DC
specified in the DRS_REPLICA_SYNC request. It will allow also to do have the
correct options as set by the client who send the DRS_REPLICA_SYNC.

Signed-off-by: Matthieu Patou <mat@matws.net>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/dsdb/repl/drepl_periodic.c
source4/dsdb/repl/drepl_service.c
source4/dsdb/repl/drepl_service.h