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

Re: Subversion and LDAP URL

From: Patricia A Moss <pmoss4_at_csc.com>
Date: Mon, 20 Apr 2009 10:42:13 -0400

>The way Jeremy said is the only way to do this on Apache, bu tyou will
>have 2 separate urls for the repositories. one for each AuthLDAPUrl.

>Like this:

><Location /repos1>
> DAV svn
> SvnParentPath /var/subversion/repositories
> SvnListParentPath On
> AuthBasicProvider ldap
> AuthType Basic
> AuthName "Subversion Server"
> AuthLDAPURL
>"ldap://server.domain1.internal/DC=domain1,DC=internal?sAMAccountName?sub?(&(objectClass=user)(objectCatego>ry=person))"
> AuthLDAPBindDN "CN=subversion,CN=Users,DC=domain1,DC=internal"
> AuthLDAPBindPassword Password
> AuthzLDAPAuthoritative Off
> Require valid-user
></Location>

><Location /repos2>
> DAV svn
> SvnParentPath /var/subversion/repositories
> SvnListParentPath On
> AuthType Basic
> AuthName "Subversion Server"
> AuthLDAPURL
>"ldap://server.domain2.internal/DC=domain,DC=internal?sAMAccountName?sub?(&(objectClass=user)(objectCategor>y=person))"
> AuthLDAPBindDN "CN=subversion,CN=Users,DC=domain2,DC=internal"
> AuthLDAPBindPassword Password
> AuthzLDAPAuthoritative Off
> Require valid-user
></Location>

My issue is that the same repository will need access to both urls, for
user authorization. I tried having 2 locations with the same name and
that did not work. Having the above configuration looks like there are 2
different locations. Will the one repository be able to authenticate
against either url?

PATI MOSS
System Engineer Sr. Professional
CSC

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1825795

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-20 16:43:15 CEST

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.