s4-repl: don't do double replication
commit458dda1f15db3db674cf8846b3c08340378a29a8
authorAndrew Tridgell <tridge@samba.org>
Tue, 15 Sep 2009 21:06:07 +0000 (15 14:06 -0700)
committerAndrew Tridgell <tridge@samba.org>
Wed, 16 Sep 2009 01:45:43 +0000 (15 18:45 -0700)
tree2fbc255a8899ef10fe28424a08ef501a9cab7b6b
parent654672008cb8c1293c7637718a84ac40a4476aa6
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