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, 18 Feb 2019 10:31:19 +0000 (11:31 +0100)
source4/dsdb/samdb/ldb_modules/acl_read.c

index 5a193e6d92592a399665c34bb077ecafaa031ffe..f9c055700f58ca63c90a353ef6ba00ee2b86a8bd 100644 (file)
@@ -142,7 +142,8 @@ static int aclread_check_parent(struct aclread_context *ac,
                                                     frame,
                                                     parent_dn,
                                                     SEC_ADS_LIST,
-                                                    NULL, req);
+                                                    &objectclass->schemaIDGUID,
+                                                    req);
                talloc_unlink(ac, ac->last_parent_dn);
                ac->last_parent_dn = parent_dn;
                ac->last_parent_check_ret = ret;