Can't authorize as different user in cyradm and sieveshell

Dan White dwhite at olp.net
Mon Nov 21 17:36:01 EST 2016


In the absence of an [sasl_]auxprop_plugins statement, all plugins will be
queried. For example, running pluginviewer (or saslpluginviewer on debian)
should typically list sasldb if it's installed on your system.

The canon_user plugins and auxprop plugins are coded within the same code,
and so are tied together somewhat, although I haven't dug into the code to
explain the error Michael is experiencing.

Michael,

I'd suggest installing the sasldb auxprop to see if that clears up the
issue. That may not even require a configuration change.

On 11/21/16 13:43 -0800, Andrew Morgan via Info-cyrus wrote:
>I'm using Debian packages for sasl.  Here is what libsasl2-modules 
>includes:
>
>/usr/lib/x86_64-linux-gnu/sasl2/libplain.so.2.0.25
>/usr/lib/x86_64-linux-gnu/sasl2/libcrammd5.so.2.0.25
>/usr/lib/x86_64-linux-gnu/sasl2/libdigestmd5.so.2.0.25
>/usr/lib/x86_64-linux-gnu/sasl2/liblogin.so.2.0.25
>/usr/lib/x86_64-linux-gnu/sasl2/libanonymous.so.2.0.25
>/usr/lib/x86_64-linux-gnu/sasl2/libntlm.so.2.0.25
>
>But in my imapd.conf, I'm not specifying an auxprop plugins:
>
># grep sasl /etc/imapd.conf
>sasl_mech_list: PLAIN
>sasl_minimum_layer: 0
>#sasl_maximum_layer: 256
>sasl_pwcheck_method: saslauthd
>
>Since we are using saslauthd, we don't use auxprop plugins, I think...
>
>	Andy
>
>On Mon, 21 Nov 2016, Michael Ulitskiy wrote:
>
>>I'm trying to read the code and it seems that it tries to lookup authorization id
>>in auxprop plugin. since I don't have any auxprop plugins that returns SASL_NOMECH and results
>>in the error I'm seeing.
>>
>>By any chance do you have any auxprop plugin defined?

-- 
Dan White


More information about the Info-cyrus mailing list