Revert "TODO this could be wrong, but NULL also...? dsdb-acl: pass the object type...
authorStefan Metzmacher <metze@samba.org>
Thu, 17 Jan 2013 12:46:11 +0000 (13:46 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 27 Jun 2016 19:49:45 +0000 (21:49 +0200)
This reverts commit 9020205e512ae075bdfc6d436708e68cd452d5f1.

source4/dsdb/samdb/ldb_modules/acl_read.c

index f8559263eacc82a953423b0a693a2c8b36af27c9..f15633f28f8d43f590777dd3d6936c1fbcbf3b63 100644 (file)
@@ -129,8 +129,7 @@ static int aclread_callback(struct ldb_request *req, struct ldb_reply *ares)
                                                             tmp_ctx,
                                                             parent_dn,
                                                             SEC_ADS_LIST,
-                                                            &objectclass->schemaIDGUID,
-                                                            req);
+                                                            NULL, req);
                        if (ret == LDB_ERR_INSUFFICIENT_ACCESS_RIGHTS) {
                                talloc_free(tmp_ctx);
                                return LDB_SUCCESS;