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

authentication problems

From: Paul Jones <pjones_at_novell.com>
Date: 2004-07-14 17:06:54 CEST

I am using auth_ldap for authentication against my subversion
repositories. I use:

<Location /repos>
Dav svn
SVNParentPath /srv/svn/repos

AuthType Basic
AuthName "Authorization required"

AuthLDAPURL ldap://host:389/o=org?cn
Require group cn=project1,ou=projects,o=org
</Location>

The url I would hit for this repository would be
http://myhost/repos/project1

This all works fine if I have only one ldap group, the problem is that I
have hundreds of projects and I recieve a new one almost everyday. I
need one of two things (unless you can think of something else:) :
  
     "Require group cn=<dynamic from url>,ou=projects,o=org" where I can
set the group cn dynamically from the url

or

    .htaccess files to work in a location tag. If I can set up
.htaccess files in each submersion repository I can put the correct
group in each file.

Anyone have any ideas on how to match the group specified in the url to
the ldap group in the require directive?

Paul Jones

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 14 17:07:28 2004

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.