TODO this could be wrong, but NULL also...? dsdb-acl: pass the object type to dsdb_mo...
authorStefan Metzmacher <metze@samba.org>
Thu, 17 Jan 2013 12:45:30 +0000 (13:45 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 29 Jan 2013 21:03:16 +0000 (22:03 +0100)
source4/dsdb/samdb/ldb_modules/acl_read.c

index 07b1bc4e5e02f988ec331b7bd762322e3fde15bb..520be86c1908efa56e91921f8946e1b3f407cb1a 100644 (file)
@@ -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;