[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: Carlos Beppler <beppler_at_gmail.com>
Date: Mon, 20 Apr 2009 10:57:01 -0300

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)(objectCategory=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)(objectCategory=person))"
  AuthLDAPBindDN "CN=subversion,CN=Users,DC=domain2,DC=internal"
  AuthLDAPBindPassword Password
  AuthzLDAPAuthoritative Off
  Require valid-user
</Location>

On Mon, Apr 20, 2009 at 10:45, Patricia A Moss <pmoss4_at_csc.com> wrote:
>
>>The only thing I can think of would be two Location blocks but that
>>would require two different base urls for the same Subversion
>>repositories.  I don't think you can do this in one Location block.
>
> I tried this and still no luck.  Does anyone else have any ideas how to
> configure 2 AuthLDAPUrl, AuthLDAPBindDN and AuthLDAPBindPassword?
>
> PATI MOSS
> System Engineer Sr. Professional
> CSC
>
>

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-20 16:00:11 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.