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

SVN: Problem with Authorization

From: bon <boni_go_at_nana.co.il>
Date: Mon, 15 Dec 2008 02:32:20 -0800 (PST)

I am using CollabNet Subversion Server with TortoiseSVN
Try check out using TortoiseSVN with the path "svn://localhost/
<repoName>" finish with OK (no password is asked, why?).

Try check out using TortoiseSVN with the path "http://localhost/svn/
<repoName>", no password is asked, and I got the error:
Server sent unexpected return value (403 Forbidden) in response to
PROPFIND
request for '/svn/<repoName>'

Why there is a different between the two?
"svn://localhost/<repoName>"
"http://localhost/svn/<repoName>"

After a sucessful check out using path "svn://localhost/<repoName>" i
tryed to check in, no password is asked and got the error:
Commit failed (details follow):
Authorization failed

What can i do?

The relevant files are:
svn repository root = D:\svn_repository

********* D:\svn_repository\password-file:
A:<pass hash>

********* D:\svn_repository\<repoName>\conf\passwd:
[users]
A = 1234

********* D:\svn_repository\<repoName>\conf\authz:
[/]
A = rw

********* D:\svn_repository\<repoName>\conf\svnserve.conf:
anon-access = none
auth-access = write
password-db = passwd

********* <CollabNet Subversion Server INSTALL dir>\httpd\conf
\httpd.conf
<Location /svn>
DAV svn
SVNParentPath D:\svn_repository
SVNListParentPath On
Require valid-user
AuthType Basic
AuthName "Subversion repository"
AuthUserFile D:\svn_repository\password-file
</Location>

********* <CollabNet Subversion Server INSTALL dir>\svn-auth-file
A:<pass hash>
????? for what this file is needed?

********* <CollabNet Subversion Server INSTALL dir>\svn-acl
[<repoName>:/]
* = rw

BTW, under c:\Documents and Settings\<user name>\Application Data
\Subversion\auth\ all 3 files are empty.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=984346
Received on 2008-12-15 11:57:57 CET

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

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