]> git.sur5r.net Git - openldap/commitdiff
Add ITS#1508 fix to allow ACIs to grant anonymous users access.
authorKurt Zeilenga <kurt@openldap.org>
Fri, 11 Jan 2002 23:48:22 +0000 (23:48 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 11 Jan 2002 23:48:22 +0000 (23:48 +0000)
servers/slapd/acl.c

index 6e36f84521b0e95361d5a1e62488a7fde1ab2313..c81be967efd387d47ba0856c8e61bb679715a370 100644 (file)
@@ -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;
                        }