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>
Tue, 29 Jan 2013 21:03:16 +0000 (22:03 +0100)
This reverts commit 9020205e512ae075bdfc6d436708e68cd452d5f1.

source4/dsdb/samdb/ldb_modules/acl_read.c

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