[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: PAM authentication method

From: Phil Endecott <spam_from_subversion_users_at_chezphil.org>
Date: 2005-11-28 21:00:48 CET

Allan Spagnol Comar wrote:
> Hi all, how can I set up pam authentication method for apache ?
>
> I have instaled mod_auth_pam to apache and my Location has:
> AuthPAM_Enabled on
> AuthType Basic
> AuthName "Subversion Repository"
> #SSLRequireSSL
> Require group subversion
>
> even so I could not list the data on repository, if I change
> autentication to AuthUserFile /etc/svn-auth-file it works.

I'm using PAM for SVN, and I can't see anything wrong with that
configuration.
You don't even need "Enabled on" because "on" is the default.
Have you restarted Apache so that mod_auth_pam is actually loaded?
Have you been able to control access to a normal HTML page using it?

Hmm, thinking about it I wonder if there is a problem with mod_auth_pam
and groups. I have a vague memory that I didn't get that to work, but I
don't need it in my setup. Try with "require valid-user" or "require
user allan" and see if that works.

--Phil.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 28 21:52:25 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.