(I don't know if my first message had been posted to the mailing list
before I've joined the mailing list... so, sorry if you receive two
messages from me for the same problem)
Hi,
I'm using :
. apache 2.0.50 (./configure --prefix=/usr/local/apache --enable-so
(...) --enable-dav --enable-dav-fs)
. SubVersion 1.2.3
I've created two branches in my repository... And I've tried use
authentication using this configuration in my httpd.conf :
<Location /repos>
DAV svn
SVNParentPath /svn
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /etc/svn-auth-file
AuthzSVNAccessFile /etc/svn-access-file
Require valid-user
SVNIndexXSLT "/svnindex.xsl"
</Location>
and my two other files :
/etc/svn-auth-file:
anonymous:$apr1$2sUtv/..$P1CnaHsiQuC65/X2fBUb21
me:$apr1$XXXXXXXXXXXXXXXXXXXXXXXXXX
/etc/svn-access-file:
[repos:/repos1/]
anonymous =
me = rw
[repos:/repos2/]
anonymous = r
me = rw
Without "AuthzSVNAccessFile", I can log with these two accounts without
any error. But when I used this access file, it's not working... I've
these errors :
[root_at_athome]# svn list --username me http://192.168.100.1/repos/repos1
Authentication realm: <http://192.168.0.1:80> Subversion repository
Password for 'me': <GOOD PASSWORD>
Authentication realm: <http://192.168.0.1:80> Subversion repository
Username: me
Password for 'me': <WRONG PASSWORD>
Authentication realm: <http://192.168.0.1:80> Subversion repository
Username: test
Password for 'test':
svn: PROPFIND request failed on '/repos/repos1'
svn: PROPFIND of '/repos/repos1': authorization failed (http://192.168.0.1)
And my apache logs show this :
[error] [client 192.168.0.1] Access denied: 'me' PROPFIND client:/
[error] [client 192.168.0.1] user me: authentication failure for
"/repos/repos1": Password Mismatch
[error] [client 192.168.0.1] user test not found: /repos/repos1
It seems first authentication is succeded but access file restriction not.
I really have no idea what I need to do or where I am wrong... Could you
help me ?
Thanks.
Raum
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 22 12:56:20 2005