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

Authentification problem with AuthzSVNAccessFile

From: Benoit des Ligneris <benoit.des.ligneris_at_revolutionlinux.com>
Date: 2004-03-14 05:35:48 CET

Hello,

I'm trying to set up several repositories with one common acces file for
all definig users and groups as well as access permissions for the different
 repositories.

My setting is the following :

/home/svn
/home/svn/repos1/
                conf, dav, db, etc.
/home/svn/repos2/
                conf, dav, db, etc.
/home/svn/repos3/
                conf, dav, db, etc.

Here is my relevant part of my apache config file :
<Location /svn>
  DAV svn
  SVNParentPath /home/svn/
  AuthType Basic
  AuthName "Revolution Linux Subversion repository"
  AuthUserFile /home/ben/Projets/SVN/paswd
  # our access control policy
  AuthzSVNAccessFile /home/ben/Projets/SVN/access
  Require valid-user
</Location>

[ When I use only the basic auth, I can acces (rw) all the repositories and subversion
  as well as the web interface are fully functionnal].

On the same level, If I put in /home/ben/Projets/SVN/access
=== start /home/ben/Projets/SVN/access ===
[/]
ben = rw
=== end /home/ben/Projets/SVN/access ===

then all is fine.

However, I was not able to set up a restricted access to a repository, for instance if
I have the following file :

=== start /home/ben/Projets/SVN/access ===
[/repos1/]
ben=rw
=== end /home/ben/Projets/SVN/access ===

or even

=== start /home/ben/Projets/SVN/access ===
[repos1:/]
ben=rw
=== end /home/ben/Projets/SVN/access ===

Then I neither the web interface nor subversion are allowing me to acces the repository repos1.

I have the following errors in apache log :
[Sat Mar 13 23:21:47 2004] [error] [client 69.70.215.250] Access denied:
'ben' PROPFIND /trunk/Documentation

And what I have on the client side :
svn: PROPFIND request failed on '/svn/repos1/trunk/Documentation'
svn: PROPFIND of '/svn/repos1/trunk/Documentation': authorization failed (https://tata.toto.com)

It looks like the "key" string ("repos1") is somehow lost, certainly because I do not understand
something well or because of my particular setting...

Thank you for your help,

Ben

-- 
Benoit des Ligneris Ph. D.          
President de Revolution Linux     http://www.revolutionlinux.com/
OSCAR Chair                    http://oscar.openclustergroup.org/
Chef de projet EduLinux                  http://www.edulinux.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Mar 14 06:13:57 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.