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

Re: svn: Authorization failed

From: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Wed, 12 Aug 2009 07:59:17 -0400

On Tue, Aug 11, 2009 at 9:39 PM, Erick Calder<e_at_arix.com> wrote:
> I'm running Fedora 11 and installed from RPMs.  last night I converted
> my CVS repository, placing it in /var/svn.  after editing the conf/
> svnserve.conf to set use-sasl = false and the passwd to add an account
> for myself, I'm trying to import something but either authentication
> or authorization is failing, I don't know which - and I find the
> server provides NO debugging output whatsoever to help.

Stop right there. Proceed *DIRECTLY* to the use of svn+ssh to get a
much better security model. Subversion's tendency to store passwords
in clear text is very nasty, and this is the most reliable fix for it,
one used by Slashdot and other security conscious systems.

> as root, I run the server like this:
>
> # svnserve -r /var/svn -d --foreground
>
> on my laptop I try:
>
> # svn import --username=myacct --password=mypass sys svn://mysvnserver/
> sys
>
> and get:
>
> svn: Authorization failed
> svn: Your commit message was left in a temporary file:
> svn:    'svn-commit.1.tmp'

What does this command report?

# svn list --username=myacct --password=mypass sys svn://mysvnserver

Always test functions that do not involve write permissions first,
when encountering subversion configuration issues.

> I've been on freenode#svn but find no one there to help and I've
> already burnt too many hours googling and struggling.  please help.
>
> thx - e
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2382748
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
>

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-12 14:00:13 CEST

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.