mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
Bypasss regex for access to dn="" ACL
This commit is contained in:
parent
2ec408e35a
commit
93094c34e0
3 changed files with 13 additions and 2 deletions
6
CHANGES
6
CHANGES
|
|
@ -1,5 +1,11 @@
|
|||
OpenLDAP 2.0 Change Log
|
||||
|
||||
OpenLDAP 2.0.23 Engineering
|
||||
Fixed slapd moddn acl bug (ITS#1562) (ITS#1582)
|
||||
Fixed slapd acl regex (to dn="") portability bug (ITS#1579)
|
||||
Documentation
|
||||
Fixed a number of typos (ITS#1578)
|
||||
|
||||
OpenLDAP 2.0.22 Release
|
||||
Fixed slapd passwd modify referral bug
|
||||
Fixed back-ldbm index threading bug
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
2.0.22-Release
|
||||
2.0.23-Release
|
||||
|
|
|
|||
|
|
@ -156,7 +156,12 @@ parse_acl(
|
|||
|| strcasecmp( style, "regex" ) == 0 )
|
||||
{
|
||||
a->acl_dn_style = ACL_STYLE_REGEX;
|
||||
if ( strcmp(right, "*") == 0
|
||||
|
||||
if ( *right == '\0' ) {
|
||||
a->acl_dn_style = ACL_STYLE_BASE;
|
||||
a->acl_dn_pat = ch_strdup( right );
|
||||
|
||||
} else if ( strcmp(right, "*") == 0
|
||||
|| strcmp(right, ".*") == 0
|
||||
|| strcmp(right, ".*$") == 0
|
||||
|| strcmp(right, "^.*") == 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue