mercredi 3 février 2016

Configure SVN HTTPD and APACHE DS

Connecting SVN, httpd and apache DS

Coarse grained configuration (every developper has access to every repository)

On centos
yum install mod_ldap

The authorization is based on the entry in the persons ou, the authorization is based on the membership to the group dev.

Here  is the configuration file of apache httpd




        DAV svn
        SVNPath /var/subversion
        AuthType Basic
        AuthName "Subversion Referential"
        AuthBasicProvider ldap
        AuthLDAPBindDN "uid=admin,ou=system"
        AuthLDAPBindPassword "mypassword"
        AuthLDAPURL "ldap://ldapserver:10399/dc=mycompany,dc=com?uid?sub??(ou=Persons)" NONE
        Require ldap-group  cn=dev,ou=Groups,dc=mycompany,dc=com






Here is the group structure
 

Aucun commentaire: