svn service: as smart as possible

Everybody needs it and bigger crews also use ldap authentication.

Alias /websvn /www/websvn
ScriptAlias /viewvc "/www/viewvc/bin/cgi/viewvc.cgi"
ScriptAlias /query "/www/viewvc/bin/cgi/query.cgi"
AuthName "SVN"
AuthType Basic
AuthBasicProvider ldap
AuthzLDAPAuthoritative On
AuthLDAPGroupAttribute memberUid
AuthLDAPGroupAttributeIsDN off
AuthLDAPURL "ldaps://ldap1.CO.hu ldap2.CO.hu/ou=users,dc=CO,dc=hu?uid?sub?(objectClass=posixAccount)"
AuthLDAPBindDN uid=ldapanon,dc=CO,dc=hu
AuthLDAPBindPassword somethingstrong
DAV svn
SVNParentPath /www/svn
SVNPathAuthz off
SVNIndexXSLT "/repos-web/view/repos.xsl"
SVNListParentPath on
Require ldap-group cn=svnadmins,ou=groups,dc=CO,dc=hu
Require ldap-group cn=svnadmins,ou=groups,dc=CO,dc=hu
Require ldap-group cn=svnadmins,ou=groups,dc=CO,dc=hu

# trailing slash is a must to avoid confusion of repositories with the same initial name

Require ldap-group cn=REPOSITORY,ou=svnaccess,ou=groups,dc=CO,dc=hu
Require ldap-group cn=REPOSITORY-rw,ou=svnaccess,ou=groups,dc=CO,dc=hu
Require ldap-group cn=svnadmins,ou=groups,dc=CO,dc=hu

Require ldap-group cn=REPOSITORY-rw,ou=svnaccess,ou=Groups,dc=CO,dc=hu
Require ldap-group cn=REPOSITORY,ou=groups,dc=CO,dc=hu
avatar

About tompos

Hungary, Budapest
This entry was posted in IT. Bookmark the permalink.

Leave a Reply