dsdb: Do checks for invalid renames in samldb, before repl_meta_data
authorAndrew Bartlett <abartlet@samba.org>
Mon, 24 Mar 2014 04:15:19 +0000 (17:15 +1300)
committerKarolin Seeger <kseeger@samba.org>
Tue, 6 May 2014 09:35:35 +0000 (11:35 +0200)
commitc5737207a0ad59eecfa54e05e4cc9198a08189e3
treec71f40d95b1b4c1898567f026bfca5b6d41033af
parent423987a4610d27fa60e5d2e47e9a5ae411997031
dsdb: Do checks for invalid renames in samldb, before repl_meta_data

This ensures that conflict objects can be created in CN=System, and
that we do not stop replication just because some other DC allowed a
rename we do not like.

This is achived by doing the work in the samldb module, which is above
repl_meta_data in the stack.

Andrew Bartlett

Change-Id: I8c1a7d3e0fbd5a470cf1326cc055044ca885f7d9
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Guenter Kukkukk <kukks@samba.org>
Tested-by: Guenter Kukkukk <kukks@samba.org>
(cherry picked from commit d3cd9f1575af18a6765a6b6a31811c9976f9c11e)

Fix bug #10569 - Rename checks prevent conflict resolution and create DRS
lockups.
source4/dsdb/samdb/ldb_modules/samldb.c
source4/dsdb/samdb/ldb_modules/subtree_rename.c