diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-11-21 09:31:25 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-11-30 17:17:20 +0100 |
commit | ca3c0e28ef5d43f0af487e45a56f2929f5f23b4e (patch) | |
tree | 282d6a95334fafbb1eab7a0a0abef8022a8ffbc4 /source4/dsdb/samdb/ldb_modules | |
parent | 53b100bb59dadbc7cfb727a4ad1566302ff6c831 (diff) | |
download | samba-ca3c0e28ef5d43f0af487e45a56f2929f5f23b4e.tar.gz samba-ca3c0e28ef5d43f0af487e45a56f2929f5f23b4e.tar.bz2 samba-ca3c0e28ef5d43f0af487e45a56f2929f5f23b4e.zip |
s4:dsdb/acl_read: do search for instanceType AS_SYSTEM and with SHOW_RECYCLED
Note that SHOW_RECYCLED implies SHOW_DELETED.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/acl_read.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/acl_read.c b/source4/dsdb/samdb/ldb_modules/acl_read.c index e2a2d4cb9a..bc75d3221b 100644 --- a/source4/dsdb/samdb/ldb_modules/acl_read.c +++ b/source4/dsdb/samdb/ldb_modules/acl_read.c @@ -287,7 +287,9 @@ static int aclread_search(struct ldb_module *module, struct ldb_request *req) ret = dsdb_module_search_dn(module, req, &res, req->op.search.base, acl_attrs, DSDB_FLAG_NEXT_MODULE | - DSDB_SEARCH_SHOW_DELETED, req); + DSDB_FLAG_AS_SYSTEM | + DSDB_SEARCH_SHOW_RECYCLED, + req); if (ret != LDB_SUCCESS) { return ldb_error(ldb, ret, "acl_read: Error retrieving instanceType for base."); |