andykimpe / rpms / 389-ds-base

Forked from rpms/389-ds-base 5 months ago
Clone
dc8c34
From 7bff6683b3a3f63b9002ad660229cf234c6ae956 Mon Sep 17 00:00:00 2001
dc8c34
From: Noriko Hosoi <nhosoi@redhat.com>
dc8c34
Date: Tue, 30 Apr 2013 10:22:59 -0700
dc8c34
Subject: [PATCH 225/225] Ticket 47331 - Self entry access ACI not working
dc8c34
 properly
dc8c34
dc8c34
Description: Additional change to
dc8c34
  commit 79346deb255ca8d7889d7590534d308d4e3a78da
dc8c34
which added a macro ACLPB_CACHE_RESULT_PER_ENTRY_SKIP, but
dc8c34
ACLPB_STATE_ALL was not updated to cover the bit.
dc8c34
This patch updates ACLPB_STATE_ALL to support the new bit.
dc8c34
(cherry picked from commit 86fea4b326b28912cd0d8de0d0cb3a2f8dea423e)
dc8c34
(cherry picked from commit 6d43552d862234334f94a5768132d71847bfcd20)
dc8c34
(cherry picked from commit d8f6af4242a8f546a2d60a10b48fd8e24a9e72d9)
dc8c34
---
dc8c34
 ldap/servers/plugins/acl/acl.h | 2 +-
dc8c34
 1 file changed, 1 insertion(+), 1 deletion(-)
dc8c34
dc8c34
diff --git a/ldap/servers/plugins/acl/acl.h b/ldap/servers/plugins/acl/acl.h
dc8c34
index dbe5c11..8a9bec2 100644
dc8c34
--- a/ldap/servers/plugins/acl/acl.h
dc8c34
+++ b/ldap/servers/plugins/acl/acl.h
dc8c34
@@ -475,7 +475,7 @@ struct acl_pblock {
dc8c34
 			   ACLPB_ACCESS_ALLOWED_ON_ENTRY | ACLPB_ATTR_STAR_MATCHED |  \
dc8c34
 			   ACLPB_FOUND_ATTR_RULE | ACLPB_EVALUATING_FIRST_ATTR |  \
dc8c34
 			   ACLPB_FOUND_A_ENTRY_TEST_RULE )
dc8c34
-#define ACLPB_STATE_ALL				0x3fffff
dc8c34
+#define ACLPB_STATE_ALL				0xffffff
dc8c34
 
dc8c34
 	int						aclpb_res_type;
dc8c34
 
dc8c34
-- 
dc8c34
1.8.1.4
dc8c34