Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 43652 invoked from network); 18 Aug 2004 16:29:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 18 Aug 2004 16:29:16 -0000 Received: (qmail 99382 invoked by uid 500); 18 Aug 2004 16:29:05 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 99238 invoked by uid 500); 18 Aug 2004 16:29:04 -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: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 99055 invoked by uid 500); 18 Aug 2004 16:29:02 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Received: (qmail 99047 invoked by uid 99); 18 Aug 2004 16:29:02 -0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Wed, 18 Aug 2004 09:28:58 -0700 Received: (qmail 43375 invoked by uid 1285); 18 Aug 2004 16:28:58 -0000 Date: 18 Aug 2004 16:28:57 -0000 Message-ID: <20040818162857.43374.qmail@minotaur.apache.org> From: bnicholes@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/modules/aaa mod_auth_basic.c X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N bnicholes 2004/08/18 09:28:57 Modified: modules/aaa mod_auth_basic.c Log: Both the r->user and r->ap_auth_type were set previously when the username and password were extracted from the request. Resetting them at the end of the handler will overwrite any changes made by the authn provider. For example, the ldap authn provider can be configured to change the user name to a full user dn. Revision Changes Path 1.18 +0 -6 httpd-2.0/modules/aaa/mod_auth_basic.c Index: mod_auth_basic.c =================================================================== RCS file: /home/cvs/httpd-2.0/modules/aaa/mod_auth_basic.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- mod_auth_basic.c 21 Feb 2004 00:53:18 -0000 1.17 +++ mod_auth_basic.c 18 Aug 2004 16:28:57 -0000 1.18 @@ -288,12 +288,6 @@ return return_code; } - /* Now that we are done, set the request_rec values so others will know - * who we are. - */ - r->user = (char*)sent_user; - r->ap_auth_type = "Basic"; - return OK; }