mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#6179 Don't require dn.regex in <who> to use expand style in <by>.
This commit is contained in:
parent
5d6d7ee5b5
commit
9d4ea6378b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user