IMAPD "Authentication failed. generic failure"
J.J. Day
day1234 at hotmail.com
Mon Mar 17 00:12:53 EDT 2008
Hi list,
I am attempting to install cyrus-imapd-2.3.11 and cyrus-sasl-2.1.22 from the ports library on FreeBSD 6.3. I am using the CMU document at http://cyrusimap.web.cmu.edu/imapd/install.html (and the contents links) as an install guide.
Perl 5.8.8 and BDB 4.6 were installed prior to starting the install of the Cyrus ports. The BDB option was selected for both packages. For the imapd install, AUTH OTP was de-selected. Both DIGEST-MD5 and CRAM-MD5 were selected. (I would like to use the simplest login method possible.) The make & install run and complete properly for both packages.
Everything appears proper until I run cyradm.
I can run saslpasswd2, sasldbuserslist2, telnet to imapd, etc. But when I run imtest to test the login, in the "S" line, I get the notice "LOGINDISABLED" rather than a list of accepted authentication methods and am unable to log into imap regardless of the sasl pwcheck method or mech list in imapd.conf.
Any help would be very much appreciated.
J.J.
IMTEST SESSION
===========
[root at dc-mail etc]# imtest -u cyrus -m login localhost
S: * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS LOGINDISABLED] D-Y-C Mail Server Cyrus IMAP4 v2.3.11 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS LOGINDISABLED ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE IDLE URLAUTH
S: C01 OK Completed
Please enter your password:
C: L01 LOGIN root {5}
S: L01 NO Login only available under a layer
Authentication failed. generic failure
Security strength factor: 0
. logout
* BYE LOGOUT received
. OK Completed
Connection closed.
[root at dc-mail etc]#
CYRUS-SASL2 CONFIGURE
==================
$ ./configure --sysconfdir=/usr/local/etc --with-configdir=/usr/local/lib/sasl2:/usr/local/etc/sasl2 --with-plugindir=/usr/local/lib/sasl2 --with-dbpath=/usr/local/etc/sasldb2 --includedir=/usr/local/include --enable-static --enable-auth-sasldb --with-rc4=openssl --with-saslauthd=/var/run/saslauthd --with-dblib=berkeley --with-bdb-libdir=/usr/local/lib --with-bdb-incdir=/usr/local/include/db46 --with-bdb=db-4.6 --without-mysql --without-pgsql --without-sqlite --enable-login --disable-otp --disable-ntlm --enable-gssapi --disable-krb4 --with-openssl=yes --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ i386-portbld-freebsd6.3
CYRUS-IMAPD CONFIGURE
==================
$ ./configure --sysconfdir=/usr/local/etc --with-cyrus-prefix=/usr/local/cyrus --with-cyrus-user=cyrus --with-cyrus-group=cyrus --with-sasl=/usr/local --with-bdb=db-4.6 --with-com_err --with-openssl=/usr --with-perl=/usr/local/bin/perl5.8.8 --with-bdb-incdir=/usr/local/include/db46 --with-bdb-libdir=/usr/local/lib --with-snmp=no --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ i386-portbld-freebsd6.3
_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008
More information about the Info-cyrus
mailing list