Summary | PHP errors with latest git (IMAP authentication) |
Queue | Horde Framework Packages |
Queue Version | Git develop |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | thomas.jarosch (at) intra2net (dot) com |
Created | 10/04/2012 (4656 days ago) |
Due | |
Updated | 10/15/2012 (4645 days ago) |
Assigned | |
Resolved | 10/04/2012 (4656 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
commit 3fa306bcb421abe049ddb2d8f9f0b057a875e2fb
Author: Michael M Slusarz <slusarz@horde.org>
Date: Thu Oct 4 13:01:36 2012 -0600
Bug #11460: Fix wrong object reference.../Imap_Client/lib/Horde/Imap/Client/Socket.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/3fa306bcb421abe049ddb2d8f9f0b057a875e2fb
State ⇒ Resolved
commit 3fa306bcb421abe049ddb2d8f9f0b057a875e2fb
Author: Michael M Slusarz <slusarz@horde.org>
Date: Thu Oct 4 13:01:36 2012 -0600
Bug #11460: Fix wrong object reference.../Imap_Client/lib/Horde/Imap/Client/Socket.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/3fa306bcb421abe049ddb2d8f9f0b057a875e2fb
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ PHP errors with latest git (IMAP authentication)
Type ⇒ Bug
State ⇒ Unconfirmed
I can't get past the login page:
[Thu Oct 04 10:27:19 2012] [error] [client 192.168.122.1] PHP Fatal
error: Call to undefined method
Horde_Imap_Client_Interaction_Server_Continuation::current() in
/datastore/DEVEL/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php
on line 598, referer: https://192.168.122.254/horde/login.php
It looks like CRAM-MD5 authentication is working but DIGEST-MD5 fails.
Use this quick hack to reproduce it:
--- a/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php
+++ b/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php
@@ -355,7 +355,8 @@ class Horde_Imap_Client_Socket extends
Horde_Imap_Client_Base
if (!empty($auth_methods)) {
// Add SASL methods. Prefer CRAM-MD5 over DIGEST-MD5, as the
// latter has been obsoleted (RFC 6331).
- $imap_auth_mech = array_intersect(array('CRAM-MD5',
'DIGEST-MD5'), $auth_methods);
+// $imap_auth_mech = array_intersect(array('CRAM-MD5',
'DIGEST-MD5'), $auth_methods);
+ $imap_auth_mech =
array_intersect(array('DIGEST-MD5'), $auth_methods);
// Next, try 'PLAIN' authentication.
if (in_array('PLAIN', $auth_methods)) {
Thomas