Re: auxpropfunc error invalid parameter supplied

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx> 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

[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux