} else {
acl_regex_normalized_dn( right, &a->acl_dn_pat );
}
- } else if ( strcasecmp( style, "base" ) == 0 ) {
+ } else if ( strcasecmp( style, "base" ) == 0
+ || strcasecmp( style, "exact" ) == 0 )
+ {
a->acl_dn_style = ACL_STYLE_BASE;
ber_str2bv( right, 0, 1, &a->acl_dn_pat );
} else if ( strcasecmp( style, "one" ) == 0 ) {
|| strcasecmp( style, "regex" ) == 0 )
{
sty = ACL_STYLE_REGEX;
- } else if ( strcasecmp( style, "exact" ) == 0 ) {
- sty = ACL_STYLE_EXACT;
- } else if ( strcasecmp( style, "base" ) == 0 ) {
+ } else if ( strcasecmp( style, "exact" ) == 0 ||
+ strcasecmp( style, "base" ) == 0 )
+ {
sty = ACL_STYLE_BASE;
} else if ( strcasecmp( style, "one" ) == 0 ) {
sty = ACL_STYLE_ONE;