Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 39423 invoked from network); 4 Mar 2008 20:20:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Mar 2008 20:20:29 -0000 Received: (qmail 88353 invoked by uid 500); 4 Mar 2008 20:20:25 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 88296 invoked by uid 500); 4 Mar 2008 20:20:24 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 88283 invoked by uid 99); 4 Mar 2008 20:20:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2008 12:20:24 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2008 20:19:45 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 717331A9832; Tue, 4 Mar 2008 12:20:02 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r633620 - /httpd/httpd/trunk/modules/aaa/mod_authnz_ldap.c Date: Tue, 04 Mar 2008 20:20:02 -0000 To: cvs@httpd.apache.org From: covener@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080304202005.717331A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: covener Date: Tue Mar 4 12:20:00 2008 New Revision: 633620 URL: http://svn.apache.org/viewvc?rev=633620&view=rev Log: return AUTHZ_GRANTED instead of OK from the LDAP nested group checking. Modified: httpd/httpd/trunk/modules/aaa/mod_authnz_ldap.c Modified: httpd/httpd/trunk/modules/aaa/mod_authnz_ldap.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/aaa/mod_authnz_ldap.c?rev=633620&r1=633619&r2=633620&view=diff ============================================================================== --- httpd/httpd/trunk/modules/aaa/mod_authnz_ldap.c (original) +++ httpd/httpd/trunk/modules/aaa/mod_authnz_ldap.c Tue Mar 4 12:20:00 2008 @@ -775,7 +775,7 @@ "[%" APR_PID_T_FMT "] auth_ldap authorise: require group (sub-group): " "authorisation successful (attribute %s) [%s][%d - %s]", getpid(), ent[i].name, ldc->reason, result, ldap_err2string(result)); - return OK; + return AUTHZ_GRANTED; } else { ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,