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

Re: SASL auth failure, reported by Cyrus SASL as "no mechanism available"

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2007-01-03 23:54:52 CET

On 1/3/07, Daniel Rall <dlr@collab.net> wrote:
> When I run 'make svnserveautocheck', I'm getting the following error
> for pretty much all tests which use ra_svn:
>
> svn: SASL(-4): no mechanism available: No worthy mechs found
>
> This problem occurs when libsvn_ra_svn/sasl_auth.c's try_auth()
> detects SASL_NOMECH, either from sasl_client_start() or its
> handle_interact() function.
>
> Malcolm reported the same problem back in last October, and Vlad
> responded <http://svn.haxx.se/dev/archive-2006-10/0317.shtml> saying
> that this error can occur if Cyrus auth plug-ins are missing from your
> /usr/lib/sasl2 directory. For Malcolm's case, Vlad suggested that a
> missing libanonymous.so was the problem. I have such a plug-in. What
> else could be causing this problem?
>
>
> Here's the contents of my /usr/lib/sasl2 directory:
>
> libanonymous.la* liblogin.so.2@ libsasldb.la*
> libanonymous.so@ liblogin.so.2.0.21* libsasldb.so@
> libanonymous.so.2@ libplain.la* libsasldb.so.2@
> libanonymous.so.2.0.21* libplain.so@ libsasldb.so.2.0.21*
> liblogin.la* libplain.so.2@ smtpd.conf
> liblogin.so@ libplain.so.2.0.21*

Well, you're failing on an authz test, which will try to use something
that has actual authorization, so anonymous won't cut it. You need
something like libcrammd5.so I imagine.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 3 23:55:03 2007

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

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