[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Apache Logins with PAM.



soren@pan.uzulu.ac.za wrote:

On Wed, Jan 30, 2002 at 05:42:42PM -0800, Petro wrote:

Does anyone know how to get Apache's basic auth to authenticate using
PAM?



Not really...in the interest of somebody knowledgable correcting me (because I hope this is wrong):


- if you have a shadow password system, then PAM authentication
  doesn't seem to work unless the caller is root.  Is this true?



umm, i use pam for apache just fine. i use it to authenticate to an ldap server. Is this what you are referring to ?
AuthType Basic
AuthName "Foo"
AuthPAM_FallThrough on
AuthUserFile /etc/httpd/users
require valid-user
require group management
require group technical
require group development


This will auth my users to an ldap server, and if that fails, try the local users file.

--
Terry Davis
Systems Administrator
BirdDog Solutions, Inc.
(402) 829-6059





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []