auxpropfunc error invalid parameter supplied

Dan White dwhite at olp.net
Mon Mar 8 09:11:03 EST 2010


On 08/03/10 10:20 +0100, ml ml wrote:
>~# imtest -u mario2 -m login -w test localhost

You're telling imtest to explicitly use the 'login' mech, but:

>sasl_mech_list: CLEAR CRAM-MD5 PLAIN

... you're telling cyrus IMAP to only offer these 3 mechs.

You probably want:

sasl_mech_list: PLAIN LOGIN

>On Mon, Mar 8, 2010 at 4:41 AM, Dan White <dwhite at olp.net> wrote:
>> On 07/03/10 17:32 +0100, ml ml wrote:
>>>
>>> i cant seem to get my saslauth working. Testsaslauth works for my user:
>>> testsaslauthd -u mario -p test
>>> 0: OK "Success."
>>>
>>>
>>> cyradm --user mario --auth login localhost
>>> IMAP Password:
>>>             Login only available under a layer at
>>> /usr/lib/perl5/Cyrus/IMAP/Admin.pm line 119
>>> cyradm: cannot authenticate to server with login as mario
>>
>> That's a Cyrus IMAP specific issue. With default configuration, it does
>> not allow transmission of a clear text password. You can enable the
>> 'allowplaintext' imapd.conf option to change that behavior, or use a
>> connection which provides some level of encryption.
>>
>>> auth.log:
>>> --------------------------------------------------------------------
>>> imap[21753]: auxpropfunc error invalid parameter supplied
>>> imap[21753]: _sasl_plugin_load failed on sasl_auxprop_plug_init for
>>> plugin: ldapdb
>>>
>>>
>>> cat /etc/imapd.conf
>>> -------------------------
>>> configdirectory: /var/imap
>>> partition-default: /var/spool/imap
>>> admins: cyrus mario
>>> sasl_mech_list: PLAIN
>>> sasl_pwcheck_method: saslauthd
>>>
>>>
>>> Has anyone an idea why it wants ldapdb here? Why does the authentification
>>> fail?
>>
>> The errors your seeing are spurious, since you're using saslauthd to
>> authenticate. It's an error indicating that you're missing a required
>> config option in /etc/imapd.conf - the sasl_ldapdb_uri option.
>>
>> You can get rid of the error in imapd.conf with:
>>
>> sasl_auxprop_plugin: sasldb
>>
>> Or by removing the ldapdb shared library.
>>
>> --
>> Dan White
>>
>

-- 
Dan White


More information about the Cyrus-sasl mailing list