From 9d4ea6378b8bc82bd727e9a586f2162b6952caeb Mon Sep 17 00:00:00 2001 From: Rein Tollevik Date: Tue, 23 Jun 2009 21:17:57 +0000 Subject: [PATCH] ITS#6179 Don't require dn.regex in to use expand style in . --- servers/slapd/aclparse.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/servers/slapd/aclparse.c b/servers/slapd/aclparse.c index 19db97fea0..3f0e381722 100644 --- a/servers/slapd/aclparse.c +++ b/servers/slapd/aclparse.c @@ -851,16 +851,6 @@ parse_acl( } } - /* expand in needs regex in */ - 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 clause.\n", - fname, lineno, 0 ); - goto fail; - } - if ( strncasecmp( left, "real", STRLENOF( "real" ) ) == 0 ) { is_realdn = 1; bdn = &b->a_realdn;