[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: Wed, 30 Jul 2008 22:36:12 +0200

TomDeWord wrote:
> Hi There, I cannot get SASL Encrpytion working on Windows with
> TortoiseSVN 1.5.x.
>
> I logged a problem here, on the July 15th but without any success:
> http://subversion.open.collab.net/ds/viewMessage.do?dsForumId=3&dsMessageId=100218
>
> In summary; I have SASL authentication up and running on Windows using
> both Tigris & Collabnet Win32 distributions of SVN 1.5.0 server.
> However when I enable encryption by setting the following in
> svnserve.conf:
>
> min-encryption = 128
> max-encryption = 256
>
> I get the following error in the Tortoise repro browser 1.5.0:
>
> SASL(-1): generic failure: Unable to find a callback: 2
>
> If I change the 128 to 1 (so it just uses integrity checks) it works
> fine (but I assume without encryption).
>
> I'm using the following in svn.conf:
>
> pwcheck_method: auxprop
> auxprop_plugin: sasldb
> mech_list: DIGEST-MD5
> sasldb_path: c:\repro
>
>
> I see from the change log in TortoiseSVN 1.5.1 the following entry:
> - CHG: The saslDIGESTMD5.dll has now encryption enabled. (Stefan)
>
> I've upgraded the Tortoise client to 1.5.1 but still have the same
> problem, is it possible that I need to upgrade the server to 1.5.1 as
> well - although there is no official binary yet.

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

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

Received on 2008-07-30 22:36:51 CEST

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