dsdb: Fix rename and RDN handling for replPropertyMetaData
commit374a01119dac8d1b04f8d43caf6e119be654e2dc
authorAndrew Bartlett <abartlet@samba.org>
Wed, 25 May 2016 02:49:31 +0000 (25 14:49 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 7 Jun 2016 08:28:10 +0000 (7 10:28 +0200)
treeb3670da83a7796e9305e818411ddc708ce41ad3f
parenta8430d15a57d3bae986a55e831bac0c216115b65
dsdb: Fix rename and RDN handling for replPropertyMetaData

This matches Windows 2012R2, which both has the RDN not sorted last and has it updated with the local
invocation_id and a local version.

The RDN attribute, unlike name, is not replicated over DRS, so the impact for interopability extends only to
the incorrect RDN values that we were finding with dbcheck (values that did not match the name values).

Finally, we always force the RDN to match the name attribute, which avoids issues
in dbcheck where these diverge.  As such, we can finally remove dbcheck as a
flapping test, last re-added in e4bab3a8282d263eb2391bc7e8a6fd64ae068935

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
selftest/flapping
source4/dsdb/repl/replicated_objects.c
source4/dsdb/samdb/ldb_modules/repl_meta_data.c