]> git.sur5r.net Git - openldap/commitdiff
Fix dynacl tgrant/tdeny initialization
authorHoward Chu <hyc@openldap.org>
Mon, 8 May 2006 09:06:37 +0000 (09:06 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 8 May 2006 09:06:37 +0000 (09:06 +0000)
servers/slapd/acl.c

index 6a2621da43b4434390e0748ff2c3549aab3db9ae..0044e6849ecfd40121b5dd8189f48aecf5b9ba27 100644 (file)
@@ -1681,15 +1681,15 @@ slap_acl_mask(
                        }
 
                        /* start out with nothing granted, nothing denied */
-                       ACL_INIT(tgrant);
-                       ACL_INIT(tdeny);
+                       ACL_INVALIDATE(tgrant);
+                       ACL_INVALIDATE(tdeny);
 
                        for ( da = b->a_dynacl; da; da = da->da_next ) {
                                slap_access_t   grant,
                                                deny;
 
-                               ACL_INIT(grant);
-                               ACL_INIT(deny);
+                               ACL_INVALIDATE(grant);
+                               ACL_INVALIDATE(deny);
 
                                Debug( LDAP_DEBUG_ACL, "    <= check a_dynacl: %s\n",
                                        da->da_name, 0, 0 );