mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Must always accept "base" for ACL_STYLE_BASE since that is always how
it gets unparsed.
This commit is contained in:
parent
4107187ecc
commit
345ba007b8
@ -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->
|
||||
|
Loading…
Reference in New Issue
Block a user