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

RE: Active Directory authentication for Subversion

From: Daniel F Garcia <dgarcia_at_kobold.com.au>
Date: 2004-05-01 06:30:17 CEST

Thank you, thank you this worked really well. Also I replace your
Limitexcept block with

    <LimitExcept GET>
        Require valid-user
    </LimitExcept>

And now web browsing doesn't require authentication, but everything else
does.

Daniel.

-----Original Message-----
From: Dominic Anello [mailto:danello@danky.com]
Sent: Saturday, 1 May 2004 1:53 PM
To: users@subversion.tigris.org
Subject: Re: Active Directory authentication for Subversion

On 2004-04-30 14:52:33 +1000, Daniel F Garcia wrote:
> I'm trying to setup active directory authentication, but am not having
> any luck. This is what I have done do far.
----8<---

Hi - just implemented this. Assuming you have mod_auth_ldap installed the
following should work:

<Location /ec-svn>
    DAV svn
    SVNPath "/usr/local/svn/ec-svn/repo"
    AuthzSVNAccessFile "/usr/local/svn/ec-svn/auth/access.ini"

    AuthLDAPURL
ldap://hoth/CN=Users,DC=isolution,DC=idx,DC=com?sAMAccountName?sub?(objectCl
ass=user)
    AuthLDAPBindDN "ISOLUTION\danello"
    AuthLDAPBindPassword XXXXXXXX
    AuthType Basic
    AuthName "eCommerce SVN repository"

    <LimitExcept MERGE>
        Require valid-user
    </LimitExcept>
</Location>

Where hoth is the AD server, ISOLUTION is the Windows domain and idx.com is
the internet domain.

I'm not an LDAP guru, I just Googled for LDAP Apache Active Directory and
adopted the info found at the page below for my own use.
http://www.wlug.org.nz/ActiveDirectoryAuthenticationNotes

Good luck!

--
Current soundtrack: 'Kinnie Star - Tidy - 02 - Ophelia'
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat May 1 06:31:18 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.