Orchun Kolcu
2005-Jun-30 23:24 UTC
[Dovecot] Authenticate login failed: Unsupported authentication mechanism
Hi, I just switched (or tried to) from UW-IMAP to dovecot. When I try to login through the telnet client I get: 1 NO Authentication failed and in the log I get: imap-login: Authenticate PLAIN failed: Unsupported authentication mechanism If I try to login through the IMAP client (Thunderbird), in the log I get the slightly different: imap-login: Authenticate login failed: Unsupported authentication mechanism Here's the auth setup from the conf: auth default { mechanisms = plain passdb = pam imap userdb = passwd user = root } And here's /etc/pam.d/imap for good measure: auth required pam_nologin.so auth required pam_stack.so service=system-auth account required pam_stack.so service=system-auth session required pam_stack.so service=system-auth The server is a fairly standard Redhat 8 setup. Any idea what's going on? Thanks! -- Orchun Kolcu orchunk at fastem.com -- http://www.fastmail.fm - The professional email service
Chris Wakelin
2005-Jun-30 23:31 UTC
[Dovecot] Authenticate login failed: Unsupported authentication mechanism
Which version of Dovecot? Do you have "disable_plaintext_auth" set to "yes" but not using SSL/TLS? Best Wishes, Chris Orchun Kolcu wrote:> Hi, > > I just switched (or tried to) from UW-IMAP to dovecot. When I try to > login through the telnet client I get: > 1 NO Authentication failed and in the log I get: > imap-login: Authenticate PLAIN failed: Unsupported authentication > mechanism > > If I try to login through the IMAP client (Thunderbird), in the log I > get the slightly different: > imap-login: Authenticate login failed: Unsupported authentication > mechanism > > Here's the auth setup from the conf: > auth default { > mechanisms = plain > passdb = pam imap > userdb = passwd > user = root > } > > And here's /etc/pam.d/imap for good measure: > auth required pam_nologin.so > auth required pam_stack.so service=system-auth > account required pam_stack.so service=system-auth > session required pam_stack.so service=system-auth > > > The server is a fairly standard Redhat 8 setup. Any idea what's going > on? Thanks!-- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin at reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
Timo Sirainen
2005-Jul-03 21:40 UTC
[Dovecot] Authenticate login failed: Unsupported authentication mechanism
On 1.7.2005, at 02:24, Orchun Kolcu wrote:> I just switched (or tried to) from UW-IMAP to dovecot. When I try to > login through the telnet client I get: > 1 NO Authentication failed and in the log I get: > imap-login: Authenticate PLAIN failed: Unsupported authentication > mechanismThis error happens if you haven't set "mechanisms = plain" in auth block in config file.> Here's the auth setup from the conf: > auth default { > mechanisms = plain > passdb = pam imap > userdb = passwd > user = root > }But this shows that you have set it, so it's a bit strange.. Do you have multiple auth blocks defined maybe? -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20050704/b5dbb914/attachment-0001.bin>