美好的一天!
我使用ldapauthentication来configurationdav_svn和apache。
我想做的事:
这里是我的configuration:
# Uncomment this to enable the repository DAV svn SVNPath /home/svn/ldap-test-repo AuthType Basic AuthName "LDAP-REPO Repository" AuthBasicProvider ldap AuthzLDAPAuthoritative on AuthLDAPBindDN "cn=svn,ou=applications,dc=company,dc=net" AuthLDAPBindPassword "pass" AuthLDAPURL ldap://ldap.company.net:389/ou=Users,dc=company,dc=net?uid?sub?(objectClass=person) <Limit GET PROPFIND OPTIONS REPORT> Allow from all </Limit> <LimitExcept GET PROPFIND OPTIONS REPORT> Require ldap-group cn=group,ou=services,dc=company,dc=net </LimitExcept>
但是,当我做了一个testing这个configuration不工作…我可以做没有身份validation的结帐和提交没有身份validation…
我做错了什么?
谢谢!
谢谢大家 :)
是我的错。 svn将我的authentication数据caching在〜/ .subversion目录下。 当我删除它服务器问我一个login信息。