apache+svn+ldap集成

apache+svn搭建方式如下:http://www.cnblogs.com/uglyliu/p/6914056.html

SVN和ldap集成,我用的方式只需要更改 /etc/http/conf.d/subversion.conf

配置如下:

<Location /svn/>
        DAV svn
        SVNListParentPath on
        SVNParentPath /home/svndata
        AuthBasicAuthoritative on
        AuthType Basic
        AuthName "svn"
        AuthBasicProvider ldap
        AuthzLDAPAuthoritative    off
        AuthLDAPURL    "ldap://ldap ip:389/dc=自己设置,dc=com?uid?sub?(objectClass=*)"
        AuthLDAPBindDN "cn=manager,dc=自己设置,dc=com"
        AuthLDAPBindPassword "manager的密码"
        AuthzSVNAccessFile /etc/subversion/svn-authz.conf
        Require valid-user
</Location>

 

posted @ 2017-09-16 17:04  梦轻尘  阅读(1138)  评论(0编辑  收藏  举报