s4-repl: don't do double replication
commit80c4b1e43e67249996cea61cc761911ff9fecbde
authorAndrew Tridgell <tridge@samba.org>
Tue, 15 Sep 2009 21:06:07 +0000 (15 14:06 -0700)
committerAndrew Tridgell <tridge@samba.org>
Tue, 15 Sep 2009 21:06:07 +0000 (15 14:06 -0700)
tree165cfe887c5577c15e5792608fe8edec812a04f2
parent46c99ec2a3781d53138245182345c6c2ddd9a258
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