Commit c6ad81bc authored by Mark Valence's avatar Mark Valence
Browse files

Fix minor bug in handling group ACLs.

parent acc740d5
...@@ -601,7 +601,7 @@ acl_mask( ...@@ -601,7 +601,7 @@ acl_mask(
* the values in the attribute group * the values in the attribute group
*/ */
/* see if asker is listed in dnattr */ /* 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); string_expand(buf, sizeof(buf), b->a_group_pat, e->e_ndn, matches);
if ( dn_normalize(buf) == NULL ) { if ( dn_normalize(buf) == NULL ) {
/* did not expand to a valid dn */ /* did not expand to a valid dn */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment