/etc/apache2/mods-available/dav_svn.conf
LoadModule ldap_module /usr/lib/apache2/modules/mod_ldap.so
LoadModule authnz_ldap_module /usr/lib/apache2/modules/mod_authnz_ldap.so
DAV svn
SVNParentPath /home/svn/repos
AuthType Basic
AuthName "Subversion Repository"
AuthBasicProvider ldap file
AuthzLDAPAuthoritative off
AuthLDAPURL "ldap://192.168.2.102:389/ou=Domain-User,dc=klmj,dc=com?uid?sub?(objectClass=posixAccount)"
AuthLDAPBindDN "gcc@klmj.com"
AuthLDAPBindPassword "123456aA"
AuthLDAPGroupAttribute memberUid
AuthLDAPGroupAttributeIsDN off
AuthUserFile /etc/apache2/dav_svn.passwd
AuthzSVNAccessFile /etc/apache2/dav_svn.authz
Require valid-user
dav_svn.authz
[groups]
admin=gcc,a
[demo:/]
@admin=rw
rainysia 于 2012-06-07 22:41:22发表:
换git