mechanism not supported error calling sasl_client_start()

Dan White dwhite at olp.net
Thu Mar 9 11:06:28 EST 2017


In your syslog. Enable auth.debug:

http://www.cyrusimap.org/docs/cyrus-imapd/2.4.7/install-configure.php

On 03/09/17 08:03 -0800, Ted Yu wrote:
>After installing with plugindir, I got this error when calling
>sasl_client_start():
>
>#define SASL_FAIL       -1   /* generic failure */
>
>Where should I look for trace that shows the cause for the failure ?
>
>Thanks
>
>On Thu, Mar 9, 2017 at 7:36 AM, Dan White <dwhite at olp.net> wrote:
>
>> On 03/09/17 07:30 -0800, Ted Yu wrote:
>>
>>> Is this the related bug ?
>>> https://github.com/cyrusimap/cyrus-sasl/issues/402
>>>
>>> Probably.
>>
>> I commented out
>>>
>>> props->max_ssf = 2;
>>>
>>> but still got -4.
>>>
>>> ---------
>>>
>>> # /usr/src/hbase/cyrus-sasl-2.1.26/utils/pluginviewer -s -c
>>>
>>> Installed and properly configured SASL (server side) mechanisms are:
>>>  EXTERNAL
>>>
>>> No server side SASL mechanisms matching your criteria found
>>>
>>> Installed and properly configured SASL (client side) mechanisms are:
>>>  EXTERNAL
>>>
>>> Available SASL (client side) mechanisms matching your criteria are:
>>>  EXTERNAL
>>>
>>
>> Assuming you compiled shared libraries when building sasl, your sasl glue
>> library (libsasl2) cannot find your (shared library) mechanisms. Verify
>> they can be found in the "--with-plugindir" location you specified in your
>> ./configure statement. See ./configure --help

-- 
Dan White


More information about the Cyrus-sasl mailing list