s4:dsdb/descriptor: fix replication of NC heads
commit45e53f029e528407642dc137ca898077ead329f2
authorStefan Metzmacher <metze@samba.org>
Fri, 7 Dec 2012 12:56:21 +0000 (7 12:56 +0000)
committerKarolin Seeger <kseeger@samba.org>
Tue, 11 Dec 2012 08:05:08 +0000 (11 09:05 +0100)
tree36c8a2dff69000d2a737b1ce5c152704fd851d1c
parentd0237f652ea0852f2ae76267ae326b470f339222
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>
(cherry picked from commit 734d14b54834a4d03e67bcaece4f4e3cf1d10925)
source4/dsdb/samdb/ldb_modules/descriptor.c