s4/repl: implement DsReplicaSync
authorAndrew Tridgell <tridge@samba.org>
Wed, 9 Sep 2009 08:04:07 +0000 (18:04 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 9 Sep 2009 08:04:07 +0000 (18:04 +1000)
commit8640293fabb0fd0fe92b814411577dcdb449100d
treee9c67e1a8c115525e8dd351d3ee61386d42c3111
parent939b936d1af9a5221922864ad579bf50157b957b
s4/repl: implement DsReplicaSync

This patch implements DsReplicaSync by passing the call via irpc to
the repl server task. The repl server then triggers an immediate
replication of the specified partition.

This means we no longer need to set a small value for
dreplsrv:periodic_interval to force frequent DRS replication. We can
now wait for the DC to send us a ReplicaSync msg for any partition
that changes, and we immediately sync that partition.
source4/dsdb/repl/drepl_out_pull.c
source4/dsdb/repl/drepl_service.c
source4/rpc_server/drsuapi/dcesrv_drsuapi.c