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

Re: TSVN command line tools fail to negotiate with SASL

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sun, 09 Sep 2012 08:48:59 +0200

On 09.09.2012 00:08, Simon Large wrote:
> On 7 September 2012 21:23, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
>> On 07.09.2012 14:14, Simon Large wrote:
>>> On 7 September 2012 12:42, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
>>>> On Fri, Sep 7, 2012 at 9:28 AM, Simon Large <simon.tortoisesvn_at_gmail.com> wrote:
>>>>> Hi Stefan,
>>>>>
>>>>> The SVN command line tools bundled with TSVN do not work properly with
>>>>> SASL-secured repositories. I have a local working copy checked out
>>>>> against such a repo and tried to update it:
>>>>>
>>>>> TSVN->Update works OK
>>>>>
>>>>> Wandisco vanilla svn 1.7.6 client works OK
>>>>>
>>>>> TSVN 1.7.99.23227 bundled svn fails
>>>>> svn up
>>>>> Updating '.':
>>>>> svn: E210007: Unable to connect to a repository at URL
>>>>> 'svn://svn.example.com/fred
>>>>> svn: E210007: Cannot negotiate authentication mechanism
>>>>> svn --version
>>>>> svn, version 1.7.7-dev (under development)
>>>>> compiled Aug 25 2012, 04:05:32
>>>>>
>>>>> I guess there is something different in the build options for our
>>>>> command line tools.
>>>>> I can give you access to a repository for testing if that will help.
>>>>
>>>> maybe this:
>>>> http://svn.haxx.se/tsvnusers/archive-2011-11/0126.shtml
>>>
>>> So how does TSVN work, and SVN built using the same dlls doesn't?
>>
>> TSVN calls sasl_set_path() so sasl doesn't have to use the registry to
>> find the dlls but looks in the path we specify.
>
> OK, I see. Maybe the Wandisco installer is setting that registry key,
> in which case our installer should too if the command line tools are
> being installed.

Not a good idea:
the last installer used will overwrite the settings of previous
installations. And will therefore break all those installations.

Maybe I can find a way to patch the CLI so that it calls sasl_set_path()
for our CLI tools.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3004522
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-09-09 08:49:09 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.