s4:dsdb/subtree_delete: do the recursive delete AS_SYSTEM/TRUSTED (bug #7711)
commit5dd4555f391d841b276e53e70eedde36f5190cdd
authorStefan Metzmacher <metze@samba.org>
Sat, 24 Nov 2012 09:14:59 +0000 (24 10:14 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 30 Nov 2012 16:17:21 +0000 (30 17:17 +0100)
treebb4731f3ec23e0d4cefca1b8387c87e5e126976f
parent60192fd1004015b50e208b3da6a07bd67f9d7990
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>
source4/dsdb/samdb/ldb_modules/subtree_delete.c