From: Luke Howard Date: Fri, 22 Jul 2005 09:39:36 +0000 (+0000) Subject: Remove redundant ACL check in operational attributes overlay X-Git-Tag: OPENLDAP_AC_BP~248 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=645923b273be7e2b6988a2bdeb4e8e3346c89bb2;p=thirdparty%2Fopenldap.git Remove redundant ACL check in operational attributes overlay --- diff --git a/servers/slapd/slapi/slapi_overlay.c b/servers/slapd/slapi/slapi_overlay.c index 1df2b0f427..a45472032a 100644 --- a/servers/slapd/slapi/slapi_overlay.c +++ b/servers/slapd/slapi/slapi_overlay.c @@ -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 ) ;