]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Remove redundant ACL check in operational attributes overlay
authorLuke Howard <lukeh@openldap.org>
Fri, 22 Jul 2005 09:39:36 +0000 (09:39 +0000)
committerLuke Howard <lukeh@openldap.org>
Fri, 22 Jul 2005 09:39:36 +0000 (09:39 +0000)
servers/slapd/slapi/slapi_overlay.c

index 1df2b0f427af26f9f7eabf231dc14dc1f025aafa..a45472032a32da184c28e02bda274fc1fbee672c 100644 (file)
@@ -87,13 +87,6 @@ slapi_over_compute_output(
                }
        }
 
-       if ( !access_allowed( op, entry, desc, NULL, ACL_READ, c->cac_acl_state) ) {
-               slapi_log_error( SLAPI_LOG_ACL, "slapi_over_compute_output",
-                       "acl: access to attribute %s not allowed\n",
-                       desc->ad_cname.bv_val );
-               return 0;
-       }
-
        /* XXX perhaps we should check for existing attributes and merge */
        for ( a = &rs->sr_operational_attrs; *a != NULL; a = &(*a)->a_next )
                ;