Thursday, May 6, 2010

SVN authentication with Apache and OpenLDAP on Debian


DAV svn
SVNParentPath /svn

AuthType Basic
AuthBasicProvider ldap
AuthName "LDAP auth repo"
AuthLDAPURL ldap://localhost/dc=sub,dc=company,dc=com?uid
AuthLDAPGroupAttribute memberUid
AuthLDAPGroupAttributeIsDN off
AuthzLDAPAuthoritative on
Require ldap-group cn=SVN-inhouse,cn=Groups,dc=sub,dc=company,dc=com