Project

General

Profile

Automatic SVN - Authentication not working

Added by Lord Phoenix about 14 years ago

Hello everyone!

I'm running the latest version of Redmine on two servers I manage. One is running on Debian Lenny and the other on Ubuntu 10.04.

I'm having problems with the automatic SVN management, specifically with respect to authentication: it seems I can't authenticate to the created repositories with a redmine user and password pair. On the Debian Lenny machine, I also use LDAP for authentication and this works. However, both installations fail with local redmine users for some reason... By failing to authenticate, I mean that the authentication dialog pops up but that even with the correct username/password, it keeps poping up. I followed the steps in [[http://www.redmine.org/wiki/redmine/Repositories_access_control_with_apache_mod_dav_svn_and_mod_perl]] for both.

I'm copying the relevant sections of my virtual host below.

PerlLoadModule Apache::Redmine
<Location /svn>
DAV svn
SVNParentPath "/var/svn"
Order deny,allow
Deny from all
Satisfy any

PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
AuthType Basic
AuthName "Redmine SVN Repository"
&lt;Limit GET PROPFIND OPTIONS REPORT&gt;
Require valid-user
Allow from localhost
Satisfy any
&lt;/Limit&gt;
&lt;LimitExcept GET PROPFIND OPTIONS REPORT&gt;
Require valid-user
&lt;/LimitExcept&gt;
RedmineDSN "DBI:mysql:database=redmine;host=localhost"
RedmineDbUser "xxxxxxxx" 
RedmineDbPass "xxxxxxxx"
&lt;/Location&gt;

Am I missing something? Do you need any other info from me?

Thank you very much for your answers!

LordPhoenix777


Replies (2)

RE: Automatic SVN - Authentication not working - Added by Felix Schäfer about 14 years ago

The configuration looks corretct, make sure the users you are testing this are members of the associated project and have at least the "view repository" permission in redmine.

RE: Automatic SVN - Authentication not working - Added by Lord Phoenix about 14 years ago

Yes, thank you! That was the problem. What an idiot...

LordPhoenix777

    (1-2/2)