git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
TODO this could be wrong, but NULL also...? dsdb-acl: pass the object type to dsdb_mo...
[metze/samba/wip.git]
/
source4
/
dsdb
/
samdb
/
ldb_modules
/
acl_read.c
diff --git
a/source4/dsdb/samdb/ldb_modules/acl_read.c
b/source4/dsdb/samdb/ldb_modules/acl_read.c
index 07b1bc4e5e02f988ec331b7bd762322e3fde15bb..520be86c1908efa56e91921f8946e1b3f407cb1a 100644
(file)
--- a/
source4/dsdb/samdb/ldb_modules/acl_read.c
+++ b/
source4/dsdb/samdb/ldb_modules/acl_read.c
@@
-123,7
+123,8
@@
static int aclread_callback(struct ldb_request *req, struct ldb_reply *ares)
tmp_ctx,
parent_dn,
SEC_ADS_LIST,
- NULL, req);
+ &objectclass->schemaIDGUID,
+ req);
if (ret == LDB_ERR_INSUFFICIENT_ACCESS_RIGHTS) {
talloc_free(tmp_ctx);
return LDB_SUCCESS;