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

Active Directory authentication for Subversion

From: Daniel F Garcia <dgarcia_at_kobold.com.au>
Date: 2004-04-30 06:52:33 CEST

I'm trying to setup active directory authentication, but am not having any
luck. This is what I have done do far.

Setup a link from /etc/apache2/mods-available/auth_ldap.load to
/etc/apache2/mods-enabled/auth_ldap.load
Edited /etc/apache2/sites-enabled/svn with the following details

NameVirtualHost svn.kobold.local:80
<VirtualHost svn.kobold.local:80>
        ServerAdmin webmaster@localhost
        <IfModule mod_dav_svn.c>
        <Location / >
          DAV svn
          SVNPath /var/lib/svn
          AuthLDAPAuthoritative on
          AuthType Basic
          AuthName "Subversion Repository"
          LDAP_Server 10.2.2.1
          LDAP_Port 389
          Bind_DN cn=XXXXXXXXX,cn=Users,dc=kobold,dc=local
          Bind_Pass XXXXXXXXX
          Base_DN "OU=Staff,DC=kobold,DC=local"
          Require valid-user
          UID_Attr cn
          #AuthUserFile /etc/apache2/dav_svn.passwd
          SVNIndexXSLT "/Group/Business%20Support/IT/Subversion/svn.xsl"
        </Location>
        </IfModule>
        ErrorLog /var/log/apache2/svnerror.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/svnaccess.log combined
        ServerSignature On
</VirtualHost>

I then did an /etc/init.d/apache2 restart and it complained about the
LDAP_Server line. I double check the documentation and LDAP_Server is the
right setting name.

Also, is there a way for read-only access to be available to everyone (ie
don't prompt for a password), but commit and other repository modifications
requiring authentication ?
 
 
Daniel F Garcia
Project manager

Mobile: 0438 670 947
Phone: 07 5461 1120
Email: dgarcia@kobold.com.au
Address: 4 Lloyd George Street, Eastern Heights QLD 4305

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 30 06:54:01 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.