From b41f2cad74951368f09336f1cd7921256fe2c08d Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 8 May 2006 09:06:37 +0000 Subject: [PATCH] Fix dynacl tgrant/tdeny initialization --- servers/slapd/acl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 ); -- 2.39.5