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

Re: Apache

From: Justin Johnson <justinjohnson_at_gmail.com>
Date: 2006-08-01 22:20:35 CEST

> I will be
> setting up an AD LDAP here shortly but was very interested on how this part
> works without using it before I go forward.

FWIW, the following httpd.conf entry restricts repository access to
members of an Active Directory group.

<Location /svn/repos1>
  DAV svn
  SVNPath /path/to/repos/repos1

  AuthType Basic
  AuthName "Subversion Repository"
  AuthBasicProvider ldap
  AuthLDAPBindDN cn=svnadminuser,cn=Users,dc=your,dc=ad,dc=domain,dc=com
  AuthLDAPBindPassword XXXXXX
  AuthLDAPURL "ldap://your.ad.domain.com:portnumber/DC=your,DC=ad,DC=domain,DC=com?sAMAccountName?sub?(objectClass=user)"
  AuthLDAPGroupAttribute member
  require ldap-group CN=yourgroup,CN=Users,DC=your,DC=ad,DC=domain,DC=com

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 1 22:22:06 2006

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.