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

Password Mismatch authz_svn[2]

From: Paolo Casarini <paolo_at_casarini.org>
Date: 2004-11-16 09:49:54 CET

Hi,

  I try to explain better my problem...

I use subversion 1.0.9 on apache2 2.0.52 that runs on a Debian Sarge
Linux Box. Without the authz_svn module with the following
configuration the Basic Authentication works correctly:

----- BEGIN dav_svn.conf -----
<Location /svn>
 DAV svn
 SVNParentPath /var/repos

 AuthType Basic
 AuthName "Subversion Repository"
 AuthUserFile /etc/apache2/dav_svn.passwd
 Require valid-user
</Location>
----- END dav_svn.conf -----

When I modify dav_svn.conf to use th authz module, the authintication with
the same users that works correctly before, now don't work. To use the authz
module I use the following conf file.

----- BEGIN dav_svn.conf -----
<Location /svn>
 DAV svn
 SVNParentPath /var/repos

 AuthType Basic
 AuthName "Subversion Repository"
 AuthUserFile /etc/apache2/dav_svn.passwd
 AuthzSVNAccessFile /etc/apache2/dav_svn.authz
 Satisfy Any
 Require valid-user
</Location>
----- END dav_svn.conf -----

The error I found in apache2 error.log after an authentication failure
is:
----- BEGIN error.log -----
..
[Tue Nov 16 11:43:39 2004] [error] [client 82.53.234.242] Access denied: 'paolo' PROPFIND tests:/
..
----- END error.log -----

The dav_svn.passwd is the same and with authz module loaded apache2 write
Password Mismatch in the error.log.

The dav_svn.authz file is like the following:

----- BEGIN dav_svn.authz -----
[group]
prbm-devel = paolo
dp-devel = paolo,davide

[dp:/]
* =
@dp-devel = rw

[prbm:/]
* = r
@prbm-devel = rw
----- END dav_svn.authz -----

So, where is my fault?

I found a workaround for my problem. Infact if use user rights
settings instead of group rights settings the authentication works
correctly.

Thanx,
 Paolo.

-- 
GPG key: 1024D/9C5AE886 2004-10-21 Paolo Casarini <paolo@casarini.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 16 09:50:37 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.