]> git.sur5r.net Git - openldap/commitdiff
Fix minor bug in handling group ACLs.
authorMark Valence <mrv@openldap.org>
Wed, 21 Jun 2000 19:07:56 +0000 (19:07 +0000)
committerMark Valence <mrv@openldap.org>
Wed, 21 Jun 2000 19:07:56 +0000 (19:07 +0000)
servers/slapd/acl.c

index c94273782149999d628a3fd7b8911842bbbaf330..fd40a97687db31fbd97d856b4ca4c7d642607ac3 100644 (file)
@@ -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 */