s4-repl: don't do double replication
authorAndrew Tridgell <tridge@samba.org>
Tue, 15 Sep 2009 21:06:07 +0000 (14:06 -0700)
committerAndrew Tridgell <tridge@samba.org>
Tue, 15 Sep 2009 21:52:23 +0000 (14:52 -0700)
commitbfd0877261883d1d6ef1d1757dad386332a8db37
treed62e4fc241b4281c52b7d49bea05f6f8972928b2
parentf5aec9ebb4bf5d0e6f8c6974a485bc5cd2899fdd
s4-repl: don't do double replication

When we replicate from a remote DC, we need to note the new uSN that
the local changes have resulted in, and modify the uSN that the notify
task uses to determine if it should send a ReplicaSync message back to
the remote DC. Otherwise we end up always triggering a ReplicaSync
every time we replicate from another DC
source4/dsdb/repl/drepl_out_helpers.c
source4/dsdb/repl/replicated_objects.c
source4/libnet/libnet_vampire.c
source4/torture/libnet/libnet_BecomeDC.c