ITS#6179 Don't require dn.regex in <who> to use expand style in <by>.

This commit is contained in:
Rein Tollevik 2009-06-23 21:17:57 +00:00
parent 5d6d7ee5b5
commit 9d4ea6378b

View File

@ -851,16 +851,6 @@ parse_acl(
}
}
/* expand in <who> needs regex in <what> */
if ( ( sty == ACL_STYLE_EXPAND || expand )
&& a->acl_dn_style != ACL_STYLE_REGEX )
{
Debug( LDAP_DEBUG_CONFIG | LDAP_DEBUG_ACL, "%s: line %d: \"expand\" style "
"or modifier used in conjunction with a non-regex <what> clause.\n",
fname, lineno, 0 );
goto fail;
}
if ( strncasecmp( left, "real", STRLENOF( "real" ) ) == 0 ) {
is_realdn = 1;
bdn = &b->a_realdn;