Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2005 16:59:37 -0400
From:      "Brian J. McGovern" <mcgovern@beta.com>
To:        questions@freebsd.org
Subject:   Debugging Apache with mod_auth_pam2 on 5.4
Message-ID:  <200509212059.j8LKxbJn020457@spoon.beta.com>

next in thread | raw e-mail | index | archive | help
All,
	I'm having a bit of an issue getting mod_auth_pam2 from the ports
collection working with the apache2 port.

	I've installed the module, uncommented the config lines in httpd.conf,
and set up a .htaccess file in the virtual server's top-level data directory...

AuthName BXBLIT
AuthType Basic
require valid-user
AuthPAM_Enabled On
AuthPAM_FallThrough Off


	I also set up /etc/pam.d/httpd....

auth            required        pam_unix.so debug
account         required        pam_unix.so debug


	The only logging I seem to be able to get is via the apache error
log, where I see:

[Wed Sep 21 15:53:13 2005] [error] [client 161.44.65.27] PAM: user 'XXXXXXXX' - not authenticated: authentication error


for each login attempt. I'm not seeing anything at all in messages,
auth.log, etc, so I'm not even sure if apache is doing the right things.

Everything else is pretty much at install configuration. Any suggestions on
things I may want to change (e.g. syslog.conf) to start to peel the edges up
on the black box, and get a look at whats going on inside?



	-Brian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509212059.j8LKxbJn020457>