From: Kurt Zeilenga Date: Fri, 11 Jan 2002 23:48:22 +0000 (+0000) Subject: Add ITS#1508 fix to allow ACIs to grant anonymous users access. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~181 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7e9c78fbc6a506ad5ada724b98648b383d85215d;p=openldap Add ITS#1508 fix to allow ACIs to grant anonymous users access. --- diff --git a/servers/slapd/acl.c b/servers/slapd/acl.c index 6e36f84521..c81be967ef 100644 --- a/servers/slapd/acl.c +++ b/servers/slapd/acl.c @@ -859,11 +859,8 @@ acl_mask( * to first check b->a_access_mask, the ACL's access level. */ - if( op->o_ndn.bv_len == 0 ) { - continue; - } - - if ( e->e_dn == NULL ) { + if ( e->e_nname.bv_len == 0 ) { + /* no ACIs in the root DSE */ continue; }