Problems with authentication

Ken Murchison ken at oceana.com
Thu Jan 2 19:56:09 EST 2003



"John A. Tamplin" wrote:
> 
> Michael Obster wrote:
> 
> >Hi,
> >
> >thx for the people who showed me the good documentation ;-)
> >
> >Ok. I have now tracked the problem a little bit.
> >
> >root at gutmann:/usr/lib# imtest -m login -a cyrus localhost
> >S: * OK gutmann Cyrus IMAP4 v2.1.11 server ready
> >C: C01 CAPABILITY
> >S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE STARTTLS AUTH=CRAM-MD5 AUTH=DIGEST-MD5 AUTH=OTP
> >S: C01 OK Completed
> >Please enter your password:
> >C: L01 LOGIN cyrus {8}
> >S: + go ahead
> >C: <omitted>
> >S: L01 NO Login failed: generic failure
> >Authentication failed. generic failure
> >Security strength factor: 0
> >. logout
> >* BYE LOGOUT received
> >. OK Completed
> >Connection closed.
> >
> >Looks like for some reason cyrus cannot authenticate my users. I use sasl 2.1.10.
> >
> >Here is my /etc/imapd.conf:
> >configdirectory: /var/imap
> >partition-default: /var/spool/imap
> >admins: cyrus
> >sasl_pwcheck_method: saslauthd
> >
> >
> You also need allowplaintext: yes in your imapd.conf to enable LOGIN or
> AUTH PLAIN.

imapd accepted the LOGIN command, it just failed.  allowplaintext is on
by default.  If he had turned it off, you'd see LOGINDISABLED in the
CAPABILITY response.

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp




More information about the Info-cyrus mailing list