sasl auth problems
Andreas Winkelmann
ml at awinkelmann.de
Wed Jun 14 10:28:17 EDT 2006
Ludwig Mey sagte:
> I am running FreeBSD 5.3 with the following packages:
>
> cyrus-sasl-2.1.20_1
> cyrus-sasl-saslauthd-2.1.20_1
> cyrus-imapd-2.2.10
> php4-imap-4.3.10_1
> horde-3.0.2
> apache+mod_ssl-1.3.33+2.8.22
> mysql-client-4.1.8a
> mysql-server-4.1.8a
> pam_mysql-0.5
> php4-mysql-4.3.10_1
>
> I am able to telnet to localhost on port 143 and able to authenticate.
> The
> problem however occurs when I try to logon via the webmail
>
> Interface. The following error is displayed:
>
>
>
> Web browser:
>
>
> A fatal error has occurred
>
>
> Can't connect to IMAP server:
>
>
> Too many login failures
>
>
> Details have been logged for the administrator.
>
>
>
>
>
>
> An everything log:
>
>
>
>
>
> Jun 12 01:46:04 camel imap[1207]: executed
>
> Jun 12 01:46:04 camel imap[1207]: sql auxprop plugin using mysql engine
>
> Jun 12 01:46:04 camel imap[1207]: accepted connection
>
> Jun 12 01:46:04 camel imap[1207]: sql plugin Parse the username cyrus
>
> Jun 12 01:46:04 camel imap[1207]: sql plugin try and connect to a host
>
> Jun 12 01:46:04 camel imap[1207]: sql plugin trying to open db 'horde' on
> host 'localhost'
>
> Jun 12 01:46:04 camel imap[1207]: sql plugin Parse the username cyrus
>
> Jun 12 01:46:04 camel imap[1207]: sql plugin try and connect to a host
>
> Jun 12 01:46:04 camel imap[1207]: sql plugin trying to open db 'horde' on
> host 'localhost'
>
> Jun 12 01:46:04 camel saslauthd[1208]: DEBUG: auth_pam: pam_authenticate
> failed: authentication error
>
> Jun 12 01:46:04 camel saslauthd[1208]: do_auth : auth failure:
> [user=cyrus] [service=imap] [realm=] [mech=pam] [reason=PAM auth error]
>
> Jun 12 01:46:04 camel imap[1207]: badlogin: localhost [127.0.0.1]
> plaintext
> cyrus SASL(-13): authentication failure: checkpass failed
>
> Any help will be greatly appreciated
Please show your configuration. At least /etc/imapd.conf.
Maybe it's a try worth to turn on Verbose Logging in your MySQL Server, to
see what queries are done and answered from the mysql-server.
--
Andreas Winkelmann
More information about the Cyrus-sasl
mailing list