SVN integration with Active directory

From Luniwiki
Jump to: navigation, search

Activate LDAP authentication

root@svn:/etc/apache2/mods-available# a2enmod authnz_ldap
Considering dependency ldap for authnz_ldap:
Enabling module ldap.
Enabling module authnz_ldap.
To activate the new configuration, you need to run:
 service apache2 restart

Configure dav_svn.conf

<Location /svn>
    DAV svn
    SVNParentPath /opt/svn
    SVNListParentPath On
       AuthBasicProvider ldap
       AuthName "SVN Luniel"
       AuthType Basic
       AuthLDAPURL "ldap://,DC=com?sAMAccountName?sub?(objectClass=*)"
       AuthLDAPBindPassword xxxx
       Require ldap-group,ou=security groups,ou=groups,dc=luniel,dc=com
       LimitXMLRequestBody 0


Daniel Simao (talk) 14:38, 20 July 2018 (EDT)