SVN integration with Active directory
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://dc01.luniel.com:389/DC=luniel,DC=com?sAMAccountName?sub?(objectClass=*)"
AuthLDAPBindDN svc_ldap@luniel.com
AuthLDAPBindPassword xxxx
Require ldap-group cn=grp.sec.access.wiki,ou=security groups,ou=groups,dc=luniel,dc=com
LimitXMLRequestBody 0
</Location>
References
- Authenticating Apache against Active Directory
- Linux Apache + Subversion + Active Directory Authentication
Daniel Simao (talk) 14:38, 20 July 2018 (EDT)