Subversion+Apache2+Auth_LDAP 2006-08-03 09:54 vf# cd /usr/ports/www/apache2 vf# make install clean WITH_LDAP_MODULES=yes vf# cd /usr/ports/devel/svn vf# make insall clean WITH_MOD_DAV_SVN=yes 也可以加上WITH_SVNSERVE_WRAPPER=yes DAV svn SVNParentPath /home/svn Options Indexes FollowSymLinks AllowOverride None order allow,deny allow from all AuthType basic AuthName “Subversion” AuthLDAPURL ldap://localhost:389/ou=People,o=example?uid?sub?(objectClas s=*) #貌似必须使用uid(默认值),我只好给每个认证用户加了objectClass=uidObject AuthLDAPBindDN cn=readonly,o=expamle AuthLDAPBindPassword read@Example AuthLDAPGroupAttributeIsDN on require valid-user 参考:http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html vf# mkdir /home/svn vf# […]
RSS