Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 27238 invoked from network); 9 Oct 2008 17:17:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Oct 2008 17:17:53 -0000 Received: (qmail 35466 invoked by uid 500); 9 Oct 2008 17:17:52 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 35441 invoked by uid 500); 9 Oct 2008 17:17:52 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 35427 invoked by uid 99); 9 Oct 2008 17:17:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Oct 2008 10:17:51 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_SECURITYSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [65.42.26.132] (HELO Exfilt5admin.aoins.com) (65.42.26.132) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Oct 2008 17:16:49 +0000 X-WSS-ID: 0K8HEOP-01-3XX-01 Received: from exfilt4.aoins.com (unknown [10.244.15.6]) by Exfilt5admin.aoins.com (Postfix) with ESMTP id 2BCE11F9C122 for ; Thu, 9 Oct 2008 13:17:12 -0400 (EDT) Received: from [10.1.159.33] by exfilt4.aoins.com with SMTP (Auto-Owners Insurance SMTP Relay); Thu, 09 Oct 2008 13:23:10 -0400 X-Server-Uuid: 8480EC59-70C8-4DFF-9636-8618823E367A X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: Logging authentication requests Date: Thu, 9 Oct 2008 13:17:16 -0400 Message-ID: In-Reply-To: <48EE110D.5050003@dmi.me.uk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Logging authentication requests thread-index: AckqGQBYhdGF68ZMQxOg7kPOOkvubQAF/5bA From: "Houser, Rick" To: modules-dev@httpd.apache.org X-WSS-ID: 64F0E2741M82839802-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Given what I learned writing my module, that would certainly work. I think you'd be hooking check_user_id with the very first call that happens in that phase. That said, I don't know if there might be a better way to handle this...=20 Thanks, Rick Houser Auto-Owners Insurance Systems Support (517)703-2580 -----Original Message----- From: Dave Ingram [mailto:dave@dmi.me.uk]=20 Sent: Thursday, October 09, 2008 10:11 AM To: modules-dev@httpd.apache.org Subject: Logging authentication requests Hi all, Just thinking about logging... Is it currently possible to log authentication requests (ideally both success and failure, individually)? If not, is it possible? And where should the module fit into the authentication chain? Is this related to Rick Houser's earlier posts about "wrapping an existing hook"? Dave