You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by bon <bo...@nana.co.il> on 2008/12/15 10:32:20 UTC

SVN: Problem with Authorization

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

Re: SVN: Problem with Authorization

Posted by "Hyrum K. Wright" <hy...@mail.utexas.edu>.
bon wrote:
> 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?

You can post to users@subversion.tigris.org, the place to get answers to usage
questions such as yours.

> ...

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=984480

Re: SVN: Problem with Authorization

Posted by bon <bo...@nana.co.il>.
Sorry.
Thanks.

On Dec 15, 4:52 pm, Stefan Sperling <s....@elego.de> wrote:
> On Mon, Dec 15, 2008 at 02:32:20AM -0800, bon wrote:
> > I am using CollabNet Subversion Server with TortoiseSVN
>
> Hi bon,
>
> these types of questions should be asked on the
> us...@subversion.tigris.org list, not here.
>
> This list concerns itself only with development of Subversion itself.
> So you're asking for a dance at the wrong party :)
>
> Good luck,
> Stefan
>
> ------------------------------------------------------http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessag...

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=984606


Re: SVN: Problem with Authorization

Posted by Stefan Sperling <st...@elego.de>.
On Mon, Dec 15, 2008 at 02:32:20AM -0800, bon wrote:
> I am using CollabNet Subversion Server with TortoiseSVN

Hi bon,

these types of questions should be asked on the
users@subversion.tigris.org list, not here.

This list concerns itself only with development of Subversion itself.
So you're asking for a dance at the wrong party :)

Good luck,
Stefan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=984482