apache+svn+ldap集成
阿新 • • 發佈:2017-09-16
use provide auth code ces word acc 需要 pac
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>
apache+svn+ldap集成