Project

General

Profile

Trouble with Redmine+Subversion+LDAP

Added by Jc Vidal over 12 years ago

Hello

I installed a redmine 1.2.1-1 via a Bitnami package.
I connected redmine with a LDAP (with "created on the fly" users). All works perfectly.
Then i tried to use a subversion in Apache as explained in the howtos.
My projects are all private, so when i type in the browser 'http://localhost/svn/myproject', i need to enter a login/password. Perfect.
But ...
Only internal users can connect themselves. LDAP users cannot (obvioulsy, i can connect to the redmine web interface using these users).
Then, i added the Authen::Simple::LDAP perl module as explained.
No changes ...

Browsing internet, it seems this operation (Redmine+Subversion+Apache+LDAP) is trivial. What is wrong ?

Here is the httpd.conf part :

PerlLoadModule Apache::Redmine
PerlLoadModule Authen::Simple::LDAP
<Location /svn>
DAV svn
SVNParentPath "/var/lib/redmine64/subversion/repos"
Order deny,allow
Deny from all
Satisfy any
SVNListParentPath On

PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
AuthType Basic
AuthName "Redmine SVN Repository"

<Limit GET PROPFIND OPTIONS REPORT>
Require valid-user
Allow from redmine.server.ip
Satisfy any
</Limit>
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>

RedmineDSN "DBI:mysql:database=bitnami_redmine;host=localhost;port:6306"

RedmineDbUser "bitnami"
RedmineDbPass "08ee92eaf4"
</Location>

Regards

JC