From: Howard Chu Date: Thu, 5 May 2005 21:47:40 +0000 (+0000) Subject: Must always accept "base" for ACL_STYLE_BASE since that is always how X-Git-Tag: OPENLDAP_AC_BP~727 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=345ba007b8718bedc8b9ba973b21cd3bf530e41a;p=openldap Must always accept "base" for ACL_STYLE_BASE since that is always how it gets unparsed. --- diff --git a/servers/slapd/aclparse.c b/servers/slapd/aclparse.c index 7a099972a6..44fed13fcc 100644 --- a/servers/slapd/aclparse.c +++ b/servers/slapd/aclparse.c @@ -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->