Summary | IMAP_Client_Socket tries to do SASL PLAIN auth on non-SASL account |
Queue | Horde Framework Packages |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | baohx2000 (at) gmail (dot) com |
Created | 11/03/2013 (4263 days ago) |
Due | |
Updated | 11/03/2013 (4263 days ago) |
Assigned | 11/03/2013 (4263 days ago) |
Resolved | 11/03/2013 (4263 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Assigned to Michael Slusarz
State ⇒ Resolved
commit a56be441a77b72ddc970cfcec6de6efb3511cc37
Author: Michael M Slusarz <slusarz@horde.org>
Date: Sun Nov 3 14:54:49 2013 -0700
[mms] Workaround broken IMAP servers that don't support the
required AUTH=PLAIN authentication method (
Bug #12817)..../Imap_Client/lib/Horde/Imap/Client/Socket.php | 20
++++++++++++++------
framework/Imap_Client/package.xml | 4 ++--
2 files changed, 16 insertions(+), 8 deletions(-)
http://git.horde.org/horde-git/-/commit/a56be441a77b72ddc970cfcec6de6efb3511cc37
Priority ⇒ 1. Low
State ⇒ Feedback
In addition, client and server implementations MUST implement the
STARTTLS, LOGINDISABLED, and AUTH=PLAIN (described in [IMAP-TLS])
capabilities.
Godaddy is using a non-RFC compliant IMAP server, if it is not
supporting the SASL PLAIN authentication method.
So we need to code to workaround a broken server like this.
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ IMAP_Client_Socket tries to do SASL PLAIN auth on non-SASL account
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
To confirm, try to login to a godaddy-hosted imap account (you need to
upgrade from the free account to use imap). You will receive "error
in initialization - 001."
To confirm, comment out lines near 430 of Socket.php containing:
if ($this->isSecureConnection()) {
$auth_mech[] = 'PLAIN';
unset($auth['PLAIN']);
}
Try to login again and it will succeed.