Project

General

Profile

svn authentication not working with local accounts but ok with ldap accounts

Added by karim bernardet about 12 years ago

Hi

We are using redmine-1.4.4. I have just noticed that the svn access does not work with local accounts but it is ok with ldap accounts. Please find below the redmine.conf file:
RailsBaseURI /projets
<Directory /var/www/html/projets/>
AllowOverride all
Options Indexes -MultiViews
</Directory>
<Location /sys>
Order deny,allow
Allow from xx.XX.XX.XX
Deny from all
</Location>
  1. /svn location for users
    PerlLoadModule Apache::Redmine
    PerlLoadModule Authen::Simple::LDAP
    PerlLoadModule Apache2::Authn::RedmineAdvanced
    <Location /svn>
    DAV svn
    SVNParentPath "/home/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"
#read-only access
<Limit GET PROPFIND OPTIONS REPORT>
Require valid-user
Allow from xx.xx.xx.xx
Allow from 127.0.0.1 # Allow from another-ip
Satisfy any
</Limit>
  1. write access
    <LimitExcept GET PROPFIND OPTIONS REPORT>
    Require valid-user
    </LimitExcept>
  1. for mysql
    RedmineDSN "DBI:mysql:database=redmine;host=xxxxxxxxxxx"
    RedmineDbUser "redmineuser"
    RedmineDbPass "xxxxxx"
    </Location>
    <Location /projets/webdav>
    AuthType Basic
    AuthName "- WebDAV Redmine access -"
    Require valid-user
    PerlAccessHandler Apache::Authn::RedmineAdvanced::access_handler
    PerlAuthenHandler Apache::Authn::RedmineAdvanced::authen_handler
    RedmineDSN "DBI:mysql:database=redmine;host=xxxxxxx"
    RedmineDbUser "redmineuser"
    RedmineDbPass "xxxxx"
    RedmineAuthenticationOnly "On"
    Order allow,deny
    Allow from 127.0.0.1
    Satisfy Any
    </Location>

Thanks for any advice

Karim