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

Re: Obscure error report on connect to svn repository

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 24 Jan 2009 16:59:44 +0100

Simon Large wrote:
> 2009/1/24 Stefan Küng <tortoisesvn_at_gmail.com>:
>> Simon Large wrote:
>>> Hi folks,
>>>
>>> If you try to access a repository using svn:// and you enter the wrong
>>> password or an invalid username (even a single space as username), you
>>> just get prompted again. If you leave the username completely blank
>>> you get a strange error message in repo browser:
>>>
>>> "SASL(-1): generic failure: Unable to find a callback: 2"
>>>
>>> As an empty username can never be valid (can it?) should the OK button
>>> be disabled while there is nothing in the username box?
>> An empty username can be valid (highly unlikely, but possible).
>>
>> The error you get is due to the fact that SASL can't find the correct
>> plugin for authenticating. Which means your server is set up to use a
>> SASL auth mechanism TSVN does not support.
>
> Its a 1.4.x svnserve (the same one I have given you access to), so
> only the standard very basic mechanisms are supported. Also, this only
> happens when the username is completely blank.

I can't really change the error message since this is what the libs
return - and I have no way of knowing *why* e.g. a checkout fails. So I
have to show the error that's returned, even if it's not really helpful.

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=1047116
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-01-24 16:59:58 CET

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.