Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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!

share|improve this question

1 Answer 1

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

 
discard

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.