[svlug] auth_pam and apache2
Ivan Sergio Borgonovo
mail at webthatworks.it
Fri Aug 11 06:10:22 PDT 2006
I'd like to use pam authentication for my svn server.
What I did was:
aptitude install libapache2-mod-auth-pam
svnadmin create --fs-type fsfs /var/www/svn
chown -R www-data:www-data /var/www/svn
in /etc/apache2/conf.d
<Location /svn>
DAV svn
SVNParentPath /var/www/svn
# AuthType Basic
# AuthName "SVN"
# AuthPAM_Enabled On
# Require file-group
</Location>
and it worked.
When I uncommented the above and:
chown -R root:staff /var/www/svn
e
find /var/www/svn -type d -exec chmod 770 {} \;
find /var/www/svn -type f -exec chmod 660 {} \;
and logged with my credential (I'm a member of staff) I get this:
[Fri Aug 11 15:07:58 2006] [error] [client 192.168.1.72] PAM: user
'ivan' - not authenticated: Authentication failure
what's missing?
thx
More information about the Svlug
mailing list