Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2006 17:13:29 -0600
From:      Derek Musselmann <phrac@disflux.com>
To:        freebsd-questions@freebsd.org
Subject:   problems with mod_auth_pam
Message-ID:  <A8CBEE7C-F78B-4F1C-8A1A-CD57CD0CF318@disflux.com>

next in thread | raw e-mail | index | archive | help
Hello all,
I have a working version of Apache (1.3.34) and am trying to use  
mod_auth_pam to allow access to a directory.  The modules all load  
and I get no error messages.  When I try to authenticate using my  
username/password I get this in the Apache error logs:
Permission denied: access to /dspam/ failed for 192.168.1.100,  
reason: authentication error

It will absolutely not accept my password and I don't know if there  
are any logs someplace else telling me why.  I have tried different  
browsers (Mozilla, Firefox, IE, Safari) with the same result.

My /etc/pam.d/httpd:
auth       required    pam_unix.so     debug
account    required     pam_unix.so     debug

And my httpd.conf:
<Directory "/usr/local/www/vhosts/dspam">
   Options +ExecCGI
   AuthPAM_Enabled on
   AuthName "DSPAM"
   AuthType Basic
   Require valid-user
</Directory>

Any help is greatly appreciated!

Derek Musselmann






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A8CBEE7C-F78B-4F1C-8A1A-CD57CD0CF318>