Revert "TODO this could be wrong, but NULL also...? dsdb-acl: pass the object type...
authorStefan Metzmacher <metze@samba.org>
Thu, 19 Apr 2018 11:09:19 +0000 (13:09 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2019 10:31:19 +0000 (11:31 +0100)
This reverts commit acce19b702c34d71ccd0e321c0da32d382d5c3c3.

source4/dsdb/samdb/ldb_modules/acl_read.c

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