Cyradm authentication failure
Kai
K1680792 at yahoo.co.jp
Thu Apr 24 09:46:03 EDT 2003
Hi list.
Cyrus-SASL-2.1.12
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.
./configure=20
--with-cyrus-prefix=3D/usr/cyrus
--with-sasl=3D/usr/local/lib/sasl2=20
--with-auth=3Dunix=20
--without-ucdsnmp=20
--with-dbdir=3D/usr/local/BerkeleyDB.4.1=20
--with-bdb-libdir=3D/usr/local/BerkeleyDB.4.1/lib=20
--with-bdb-incdir=3D/usr/local/BerkeleyDB.4.1/include=20
--with-duplicate-db=3Dberkeley=20
--with-mboxlist-db=3Dberkeley=20
--with-seen-db=3Dberkeley
--with-subs-db=3Dberkeley
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/Admin.pm line 114
>>cyradm: cannot authenticate to server with as cyrus
It don't let me login.
And ,There are my imapd.log .
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 server.net: userPassword
My imap.conf
>configdirectory: /var/imap
>partition-default: /var/spool/imap
>admins: cyrus
>virtdomains: yes
>allowanonymouslogin: no
>allowplaintext: yes
>defaultdomain: server.net
>sasl_pwcheck_method: saslauthd
Who can tell me where the problem is ?
Thanks a lots.
---------
Kai.=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=
=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=FF=F0=E8b=8B=98j=1A(=FF=F6=1A=86=8A=
=FF=04=18=AC=06=BA=1Au=B6=A7u=BC=98j=1A(=FE=1Bm=A7=FF=FFm=BF=F2j=1A(=FD=CA=
=FF
More information about the Info-cyrus
mailing list