[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Re: Per-Directory Access Control

From: Paul Grenyer <paul_at_paulgrenyer.co.uk>
Date: 2004-09-28 12:02:56 CEST

Hi

> It looks like the file /etc/svn-auth does not contains an entry for user
paul....
> If you type a wrong password the error is different (Authentication
failure password mismatch).

As I stated in my original post, I beleive /etc/svn-auth is ok, because non
AuthzSVNAccessFile authentication works fine.

The contents of the file looks similar to this:

paul:<various random letters symbols and numbers>

There is no new line. Does that metter?

> If the error is due to authorization check of svn the error is still
different:
> Access denied: <user> GET <repository>:/<path>

I've been doing some fiddling:

# httpd.conf

<Location /svn>
        DAV svn
        SVNParentPath /home/web/svn

        AuthzSVNAccessFile /etc/svn-access
        Satisfy Any
        Require valid-user

        AuthType Basic
        AuthName "SubVersion Repository"
        AuthUserFile /etc/svn-auth
</Location>

# /etc/svn-access

[begin-cpp:/begin-cpp]
paul = wr

and the error from the apache error_log is:

[Tue Sep 28 10:59:07 2004] [error] [client 82.120.160.30] Access denied:
'paul' GET begin-cpp:/

Does that help? I think maybe my /etc/svn-access is wrong?

Regards
Paul

Paul Grenyer
email: paul@paulgrenyer.co.uk
web: http://www.paulgrenyer.co.uk

PG: Contains mild violence and peril.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 28 12:03:25 2004

This is an archived mail posted to the Subversion Users mailing list.