From 7e9c78fbc6a506ad5ada724b98648b383d85215d Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 11 Jan 2002 23:48:22 +0000 Subject: [PATCH] Add ITS#1508 fix to allow ACIs to grant anonymous users access. --- servers/slapd/acl.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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; } -- 2.39.5