s4:dsdb/subtree_delete: do the recursive delete AS_SYSTEM/TRUSTED (bug #7711)
commiteb4ff6a81f3eabbe3cbbd9c77d59651e3891140f
authorStefan Metzmacher <metze@samba.org>
Sat, 24 Nov 2012 09:14:59 +0000 (24 10:14 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 3 Dec 2012 11:55:06 +0000 (3 12:55 +0100)
tree9de46fb36101af72d712346475538466b487b2dd
parentf65797562e86acba1b1833df5318d788be834788
s4:dsdb/subtree_delete: do the recursive delete AS_SYSTEM/TRUSTED (bug #7711)

Now that the acl module checks for SEC_ADS_DELETE_TREE,
we can do the recursive delete AS_SYSTEM.

We need to pass the TRUSTED flags as we operate from
the TOP module.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 5dd4555f391d841b276e53e70eedde36f5190cdd)
source4/dsdb/samdb/ldb_modules/subtree_delete.c