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

Re: SVN Authentication fail

From: Jeffrey Lee <jleecbd_at_gmail.com>
Date: Thu, 13 May 2010 10:28:04 -0700

No, I'm using ssh to a. create the repository, then b. launch svnserve

I'm trying to connect using either svnX or TortoiseSVN (I like working on multiple OS at the same time :) )

So, after I SSH'd in:

I did svnadmin create svn - created the directory <server>/svn with all of the appropriate directories, from the looks of it. The permissions on the svn directory are rwxr-xr-x, which may be a problem? svnadmin and svnserve have both been launched from the same account (the owner of the svn directory).

svnserve.conf was modified to uncomment the following lines:

anon-access = read (actually I currently have this set to write to see if it helped, but it didn't)
auth-access = write
password-db = passwd
authz-db = authz

nothing else was modified/uncommented and the like.

passwd was edited to add a line of the sort:

<username> = <password>

authz was modified to create a group including <username> and the following line was added, as well:

[repository: /svn]

@<groupdefined earlier> = rw

Then I launch svnserve -d

Attempt to connect with svnX and get an Authentication Failed.

I think that's all of the pertinent details.
----------------------------------
Concepts create idols; only wonder grasps anything. - St. Gregory of Nyssa

Jeffrey Lee
jeff_at_lee-burgin.com

On May 13, 2010, at 10:15 AM, Bob Archer wrote:

>> My webhosting service installed SVN on my account (for my domain). They
>> won't enable the Apache module, so have to fire off svnserve -d, which is
>> fine for my purposes. At any rate, I've created a repository, and believe
>> I've configured all of the passwd authz and svnserve.conf files
>> appropriately (according to the instructions), but I still get an
>> authorization fail when I connect. I did try to define an additional user
>> in the passwd file that is the account (username and password) I use to
>> ssh into the server, but that didn't help.
>>
>> Googling hasn't yielded any fruit for me yet, so I'd appreciate any ideas
>> on where to go next.
>
> I don't understand what you are doing.
>
> Are you SSHing into your server. Then starting the svnserve deamon then in that ssh terminal trying to use the svn command?
>
> Or, are you running the svn command locally? Using what protocol?
>
> So example commands... steps you are performing would really help us help you with guessing and going back and forth with questions.
>
> BOb
>
Received on 2010-05-13 19:28:40 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.