Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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://,dc=company,dc=net?uid?sub?(objectClass=person)

            Allow from all

            Require ldap-group cn=group,ou=services,dc=company,dc=net

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?


share|improve this question

Thanks to all :)

It was my fault. svn caches my auth data at ~/.subversion dir. When I removed it server asks me a login information.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.