From: Mark Valence Date: Wed, 21 Jun 2000 19:07:56 +0000 (+0000) Subject: Fix minor bug in handling group ACLs. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2547 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c6ad81bcd2914503c1f8a5eb906256cde6fd8065;p=openldap Fix minor bug in handling group ACLs. --- diff --git a/servers/slapd/acl.c b/servers/slapd/acl.c index c942737821..fd40a97687 100644 --- a/servers/slapd/acl.c +++ b/servers/slapd/acl.c @@ -601,7 +601,7 @@ acl_mask( * the values in the attribute group */ /* see if asker is listed in dnattr */ - if ( b->a_group_style != ACL_STYLE_REGEX ) { + if ( b->a_group_style == ACL_STYLE_REGEX ) { string_expand(buf, sizeof(buf), b->a_group_pat, e->e_ndn, matches); if ( dn_normalize(buf) == NULL ) { /* did not expand to a valid dn */