Commit 345ba007 authored by Howard Chu's avatar Howard Chu
Browse files

Must always accept "base" for ACL_STYLE_BASE since that is always how

it gets unparsed.
parent 4107187e
......@@ -483,7 +483,8 @@ parse_acl(
} else {
/* FIXME: if the attribute has DN syntax, we might
* allow one, subtree and children styles as well */
if ( !strcasecmp( style, "exact" ) ) {
if ( !strcasecmp( style, "base" ) ||
!strcasecmp( style, "exact" ) ) {
a->acl_attrval_style = ACL_STYLE_BASE;
} else if ( a->acl_attrs[0].an_desc->ad_type->
......
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