s4:dsdb/descriptor: fix replication of NC heads
commit734d14b54834a4d03e67bcaece4f4e3cf1d10925
authorStefan Metzmacher <metze@samba.org>
Fri, 7 Dec 2012 12:56:21 +0000 (7 12:56 +0000)
committerMichael Adam <obnox@samba.org>
Fri, 7 Dec 2012 15:04:40 +0000 (7 16:04 +0100)
treed4abb2b6a21d9db0c36dac0ea9b01c6802a36d36
parent802124789513ef207a154ee950dc03e66a80e0b1
s4:dsdb/descriptor: fix replication of NC heads

The sub NC heads maybe replicated with the parent partition,
if we don't need to recalculate the nTSecurityDescriptor attribute in that
case, the replication of the of the sub partition should handle that.

This fixes error messages like this:
descriptor_sd_propagation_recursive: DC=ForestDnsZones,DC=s40dom,DC=base not found under DC=s40dom,DC=base

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source4/dsdb/samdb/ldb_modules/descriptor.c