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

it gets unparsed.
This commit is contained in:
Howard Chu 2005-05-05 21:47:40 +00:00
parent 4107187ecc
commit 345ba007b8

View File

@ -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->