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

Re: SASL Encrpytion Not Working

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 01 Aug 2008 18:19:05 +0200

TomDeWord wrote:
> On Jul 30, 9:36 pm, Stefan Küng <tortoise..._at_gmail.com> wrote:
>> I just tested this with the opencollab.net server which is build from
>> svn 1.5.0. It works fine with TSVN 1.5.1.
>> I only got the same error as you when I didn't pass the correct
>> username, or when I first forgot to create the password without
>> specifying the repository realm.
>> Please have a look at the Subversion book on how to configure your
>> server correctly.
>>
>> Stefan
>>
>
> Thanks for taking the time to check this Stefan; as you've confirmed
> that it does work I retried the following:
>
> I created a repository from scratch and setup it up as a service:

[snip]

> If I change min-encryption to 128 I get the error: SASL(-1): generic
> failure: Unable to find a callback: 2

That error only tells that HAVE_SYSLOG was not defined when compiling
sasl - really stupid: it rather should return the real error
(HAVE_SYSLOG can't be defined on Windows because it doesn't have syslog.h).

> I've gone over the instructions multiple times and can see nothing to
> change, can you see anything I've missed? Thanks for you help.

I got to reproduce the problem and while it took me quite a while to
figure out the problem, I got it now:
the reason it does not work is because your server is configured to
provide encryption with RC4, but our dlls are compiled only to use DES
encryption (which is a *lot* better).
I've now enabled RC4 in our sasl dlls too, so it should work with your
configuration too.

I'm currently running some more tests before I commit that change. You
can expect a new 1.5.x nightly in a few hours...

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-08-01 18:19:30 CEST

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