[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 11:49:44 -0700

Very much a shared server.

I tried the following (from within ssh):

/usr/local/bin/svn info svn://<server>/svn

Result:

Authorization failed
----------------------------------
Concepts create idols; only wonder grasps anything. - St. Gregory of Nyssa

Jeffrey Lee
jeff_at_lee-burgin.com

On May 13, 2010, at 11:36 AM, Bob Archer wrote:

>> On May 13, 2010, at 10:40 AM, Bob Archer wrote:
>>
>>>> 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.
>>>
>>> how? Are you using svn+ssh://bla.servername.com/reponame
>>>
>>> I think if you do that svnserve is spawned for you.
>>>
>>> ???
>>>
>>> Have you read this part of the svn book http://svnbook.red-
>> bean.com/nightly/en/svn-book.html#svn.serverconfig.svnserve.sshauth ??
>>>
>>> BOb
>>>
>
>> I'm just using svn:// I was hoping to not have to ssh in as I will have
>> occasion to have to connect from behind a firewall that does not permit
>> ssh.
>
> I see. So, you are running the daemon then closing your ssh connection. Are you sure that keeps the deamon running. I'm not much of a Linux guy.
>
> That said... are you sure your hoster has the port that svn needs open. Is this a shared server or a dedicated server or what? I'm not sure why you would get an auth failure. It is prompting for the username and password? Or are you just passing them.
>
> If you use svn.exe while you are in the ssh session does that work?
>
> BOb
>
Received on 2010-05-13 20:50:15 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.