From: Howard Chu Date: Mon, 8 May 2006 09:06:37 +0000 (+0000) Subject: Fix dynacl tgrant/tdeny initialization X-Git-Tag: OPENLDAP_REL_ENG_2_4_1ALPHA~2^2~71 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b41f2cad74951368f09336f1cd7921256fe2c08d;p=openldap Fix dynacl tgrant/tdeny initialization --- diff --git a/servers/slapd/acl.c b/servers/slapd/acl.c index 6a2621da43..0044e6849e 100644 --- a/servers/slapd/acl.c +++ b/servers/slapd/acl.c @@ -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 );