[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: Greg Thomas <thomasgd_at_omc.bt.co.uk>
Date: 2005-09-30 10:10:57 CEST

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]
    AuthLDAPBindDN [LDAPBindDN]
    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

-- 
This post represents the views of the author and does
not necessarily accurately represent the views of BT.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 30 10:13:24 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.