dav_svn write access
Posted
by
canavar
on Server Fault
See other posts from Server Fault
or by canavar
Published on 2012-11-22T14:46:59Z
Indexed on
2012/11/22
17:01 UTC
Read the original article
Hit count: 241
Good day!
I am configuring dav_svn and apache with ldap auth.
What I want to do:
- allow anonymous READ access to repo
- allow write access to authenticated users
Here comes my config:
# 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>
But when I do a test this config doesn't work... I can do checkout without auth and commit without auth...
What I am doing wrong?
Thanks!
© Server Fault or respective owner