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>
Mon, 27 Jun 2016 19:49:44 +0000 (21:49 +0200)
source4/dsdb/samdb/ldb_modules/acl_read.c

index f15633f28f8d43f590777dd3d6936c1fbcbf3b63..f8559263eacc82a953423b0a693a2c8b36af27c9 100644 (file)
@@ -129,7 +129,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;