[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: boni_go <boni_go_at_nana.co.il>
Date: Mon, 15 Dec 2008 09:21:48 +0200

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=1065&dsMessageId=984286

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-15 19:49:50 CET

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.