auxpropfunc error invalid parameter supplied
ml ml
mliebherr99 at googlemail.com
Mon Mar 8 04:20:52 EST 2010
Hi Dan,
i still dont get it:
~# testsaslauthd -u mario2 -p test
0: OK "Success."
~# imtest -u mario2 -m login -w test localhost
S: * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID AUTH=CRAM-MD5
AUTH=PLAIN SASL-IR COMPRESS=DEFLATE] Testfix Cyrus IMAP v2.3.16 server
ready
C: L01 LOGIN root {4}
S: + go ahead
C: <omitted>
S: L01 NO Login failed: generic failure
Authentication failed. generic failure
Security strength factor: 0
imapd.conf (diffrent config this time!!!):
================
configdirectory: /usr/local/example-admin/cyrus/var/imap
defaultpartition: default
partition-default: /var/spool/cyrus/mail
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news
altnamespace: no
unixhierarchysep: no
lmtp_downcase_rcpt: yes
admins: cyrus
allowanonymouslogin: no
popminpoll: 1
autocreatequota: 0
umask: 077
sieveusehomedir: false
sievedir: /var/spool/sieve
hashimapspool: true
allowplaintext: yes
sasl_mech_list: CLEAR CRAM-MD5 PLAIN
tls_ca_path: /etc/ssl/certs
tls_session_timeout: 1440
tls_cipher_list: TLSv1+HIGH:!aNULL:@STRENGTH
lmtpsocket: /usr/local/example-admin/cyrus/var/socket/lmtp
idlemethod: poll
idlesocket: /var/run/cyrus/socket/idle
notifysocket: /var/run/cyrus/socket/notify
syslog_prefix: cyrus
sasl_pwcheck_method: saslauthd
auth.log:
===========
Mar 8 10:16:52 Testfix cyrus/imap[1554]: auxpropfunc error invalid
parameter supplied
Mar 8 10:16:52 Testfix cyrus/imap[1554]: _sasl_plugin_load failed on
sasl_auxprop_plug_init for plugin: ldapdb
syslog:
==========
Mar 8 10:16:52 Testfix cyrus/master[1554]: about to exec
/usr/local/example-admin//cyrus/bin/imapd
Mar 8 10:16:52 Testfix cyrus/imap[1554]: executed
Mar 8 10:16:52 Testfix cyrus/imap[1554]: accepted connection
Mar 8 10:16:52 Testfix cyrus/imap[1554]: badlogin: localhost [::1]
plaintext root SASL(-1): generic failure: checkpass failed
Any further ideas?
Cheers,
Mario
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
>
More information about the Cyrus-sasl
mailing list