Cyradm authentication failure

Kai K1680792 at
Thu Apr 24 09:46:03 EDT 2003

Hi list.
Cyrus-IMAPD-2.2(CVS 24042003)
Openssl 0.9.6a
Perl 5.8.0
Red Hat 8.0

I installed Cyrus-IMAPD-2.2 with the following configuration.


and ,I compiled and installed PERL packages successfully.

When running them ,I got the following messages.

>>Login failed: authentication failure at /usr/lib/perl5/site_perl/5.8.0/=
i386-linu>x-thread-multi/Cyrus/IMAP/ line 114
>>cyradm: cannot authenticate to server with  as cyrus

It don't let me login.

And ,There are my imapd.log .


>>Apr 24 20:19:37 server imap[9132]: accepted connection

>>Apr 24 20:19:42 server imap[9132]: badlogin: localhost.localdomain [127=
.0.0.1] plaintext cyrus at localdomain SASL(-13): authentication failure: ch=
eckpass failed

My auth.log

>>Apr 24 20:25:51 server perl: No worthy mechs found

>>Apr 24 20:25:54 server saslauthd[722]: pam_mysql: select returned more =
than oneresult

>>Apr 24 20:25:54 server imap(pam_unix)[722]: check pass; user unknown

>>Apr 24 20:25:54 server imap(pam_unix)[722]: authentication failure; log=
name=3D uid=3D0 euid=3D0 tty=3D ruser=3D rhost=3D

>>Apr 24 20:25:56 server saslauthd[722]: DEBUG: auth_pam: pam_authenticat=
e failed: Permission denied

>>Apr 24 20:25:56 server saslauthd[722]: AUTHFAIL: user=3Dcyrus at localdoma=
in service=3Dimap realm=3D [PAM auth error]

I am using the PAM of saslauthd to complete authentication. I created acc=
ount 'cyrus'  in both sasl2 and mysql database.

This is the result of 'sasldblistuser2':

>cyrus at userPassword

My imap.conf

>configdirectory:        /var/imap
>partition-default:      /var/spool/imap
>admins: cyrus
>virtdomains:    yes
>allowanonymouslogin:    no
>allowplaintext: yes
>sasl_pwcheck_method: saslauthd

Who can tell me where the problem is ?

Thanks a lots.


More information about the Info-cyrus mailing list