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)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 26 Mar 2014 01:21:24 +0000 (02:21 +0100)
commitd3cd9f1575af18a6765a6b6a31811c9976f9c11e
tree3c47fb0029b1f2fc1f3726db92dde2b644bb62e4
parenta7df00c82049547129f063a40a842b156c8aead4
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>
source4/dsdb/samdb/ldb_modules/samldb.c
source4/dsdb/samdb/ldb_modules/subtree_rename.c