[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:16:46 -0700

Thanks. No joy, however.

I have a feeling there may be something odd with the way things are configured on the server, as my provider doesn't really have any svn experience. I'm tempted to just switch to assembla.com as its a small project.
----------------------------------
Concepts create idols; only wonder grasps anything. - St. Gregory of Nyssa

Jeffrey Lee
jeff_at_lee-burgin.com

On May 13, 2010, at 11:10 AM, David Brodbeck wrote:

>
> On May 13, 2010, at 10:50 AM, Jeffrey Lee 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.
>> ----------------------------------
>> Concepts create idols; only wonder grasps anything. - St. Gregory of Nyssa
>>
>> Jeffrey Lee
>> jeff_at_lee-burgin.com
>
> Try turning off anon-access. My experience is that mixing anonymous and authenticated access confuses the client and causes strange behavior.
>
>
> --
>
> David Brodbeck
> System Administrator, Linguistics
> University of Washington
>
>
>
>
Received on 2010-05-13 20:17:21 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.