mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 02:29:34 -05:00
Fix ACL to dn="" bug
This commit is contained in:
parent
32a2f291ee
commit
98a2e41911
1 changed files with 1 additions and 1 deletions
|
|
@ -395,7 +395,7 @@ acl_get(
|
|||
for ( ; a != NULL; a = a->acl_next ) {
|
||||
(*count) ++;
|
||||
|
||||
if (a->acl_dn_pat.bv_len != 0) {
|
||||
if ( a->acl_dn_pat.bv_len || ( a->acl_dn_style != ACL_STYLE_REGEX )) {
|
||||
if ( a->acl_dn_style == ACL_STYLE_REGEX ) {
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "acl", LDAP_LEVEL_DETAIL1,
|
||||
|
|
|
|||
Loading…
Reference in a new issue