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

Re: Apache+svn+authorization

From: Frank Gruman <fgatwork_at_verizon.net>
Date: 2005-09-30 15:35:50 CEST

Greg Thomas wrote:
> On Fri, 30 Sep 2005 00:31:19 +0200, Miquel Serra <xabeec@yahoo.es>
> wrote:
>> as I can manage the authorizations by means of ldap?
> I'm using the experimental mod_auth_ldap module that comes with Apache
> - and despite the 'experimental' tag it works just fine once you've
> got it build (I see it's going 'mainstream' in Apache 2.2). My
> <Location> block looks something like ...
> <Location /svn>
> DAV svn
> SVNPath /home/export/svn/svn-repos
> # Which users can access the repository?
> AuthzSVNAccessFile /home/export/svn/svn-config/access-file
> Require valid-user
> # how to get a username/password from the browser
> AuthType Basic
> AuthName "Subversion repository"
> # How to verify that it's the right password for that user.
> AuthLDAPUrl [LDAPSearchURL]
> AuthLDAPBindPassword [LDAPPassword]
> </Location>
> You'll just need to change the three AuthLDAP* directives to meet the
> particular structure of your own LDAP directory. The mod_auth_ldap
> docs are quite helpful on this one, IIRC.
> HTH,
> Greg

I'm doing the same thing with success on my repositories as well. The
only thing to remember is to make sure the user login is entered EXACTLY
as Apache sees it into the AuthzSVNAcessFile. Otherwise you will run
into problems there. You can verify how Apache reads it through your
access log.

Good luck!

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 30 15:39:50 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.