dsdb: use AS_SYSTEM | SHOW_RECYCLED for access check searches
authorStefan Metzmacher <metze@samba.org>
Mon, 10 Jun 2013 11:31:59 +0000 (13:31 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 13 Jun 2013 11:57:42 +0000 (13:57 +0200)
commit5959affa031843d741513000fb382efe54ff147b
tree1cdcb63169931577f849289462ce54979efdf972
parentafb2bcc08489dbece732fc8f842cbd83862320be
dsdb: use AS_SYSTEM | SHOW_RECYCLED for access check searches

We need AS_SYSTEM in order to get the nTSecurityDescriptor attribute.
Also the result of this search not controlled by the client
nor is the result exposed to the client.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/common/dsdb_access.c