s4-dsdb: implemented creation of conflict records
authorAndrew Tridgell <tridge@samba.org>
Fri, 1 Apr 2011 08:53:23 +0000 (19:53 +1100)
committerAndrew Tridgell <tridge@samba.org>
Mon, 4 Apr 2011 01:27:06 +0000 (03:27 +0200)
commitf00d258a44073e5758c1b1785d98c79e75ba528b
tree3b47ba9811bad319486ec2408f5c7cec5d146466
parentbf3a75cf82f7ccdde14108d0d300b08d764277a3
s4-dsdb: implemented creation of conflict records

when a record with the same DN gets created on two DCs at the same
time, this creates a replication conflict. To resolve this conflict
one of the DCs needs to create a conflict record, which is a rename of
one of the two DNs, based on which one is newer.

This prevents replication from failing when DCs are temporarily
disconnected and then have conflicts when they next replicate

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Mon Apr  4 03:27:07 CEST 2011 on sn-devel-104
source4/dsdb/samdb/ldb_modules/repl_meta_data.c