How does AuthzSVNAccessFile work?
Posted
by
grigy
on Server Fault
See other posts from Server Fault
or by grigy
Published on 2010-07-10T18:51:42Z
Indexed on
2011/01/12
11:55 UTC
Read the original article
Hit count: 267
I have set up an SVN repo with WebDAV access. For some reason it does not let checkout.
Here is my httpd.conf part:
<Location /svn>
DAV svn
SVNParentPath /home/svn/repositories
AuthzSVNAccessFile /home/svn/dav_svn.authz
Satisfy Any
Require valid-user
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /home/svn/dav_svn.passwd
</Location>
I have two repositories named "first" and "second" and the content of dav_svn.authz is:
[first:/]
doe = rw
* = r
[second:/]
doe = rw
grig = rw
* = r
When I'm trying to checkout the second with user doe, I get this in error_log: user doe: authentication failure for "/svn/second": Password Mismatch
In order to understand what can be the problem I would like to better understand how the AuthzSVNAccessFile is supposed to work.
© Server Fault or respective owner