[Tickets #10680] Re: Authentication via IMP does fail for some passwords while using IMAP directly does work

bugs at horde.org bugs at horde.org
Thu Feb 16 05:48:41 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10680
------------------------------------------------------------------------------
  Ticket             | 10680
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | Authentication via IMP does fail for some passwords
                     | while using IMAP directly does work
  Queue              | Kronolith
  Version            | Git master
  Type               | Bug
  State              | Assigned
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Jan Schneider, Michael Slusarz
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2012-02-15 22:48) wrote:

I can't reproduce doing the following:

1. Setup a shared calendar on the server that requires authentication  
(I'm using imp auth authentication).
2. Creating a new calendar in Thunderbird/Lightning.
3. Enter username/password
4. ICS file is downloaded.

I can verify in #3 that if I put in the wrong password the  
authentication fails.

Just for the heck of it... could you apply this diff:

diff --git a/horde/rpc.php b/horde/rpc.php
index a420f27..df8c789 100644
--- a/horde/rpc.php
+++ b/horde/rpc.php
@@ -42,6 +42,7 @@ if ((!empty($_SERVER['CONTENT_TYPE']) &&
  } elseif (!empty($_SERVER['PATH_INFO']) ||
            in_array($_SERVER['REQUEST_METHOD'], array('DELETE',  
'PROPFIND', 'PUT', 'OPTIONS'))) {
      $serverType = 'Webdav';
+    $session_control = 'none';
  } elseif (!empty($_SERVER['CONTENT_TYPE'])) {
      if (strpos($_SERVER['CONTENT_TYPE'],  
'application/vnd.syncml+xml') !== false) {
          $serverType = 'Syncml';

FYI: Here's what the Horde log looks like when authenticating via RPC:

2012-02-15T22:17:21-07:00 DEBUG: HORDE Load config file (hooks.php;  
app: horde) [pid 13427 on line 865 of  
"/disk2/src/horde/framework/Core/lib/Horde.php"]
2012-02-15T22:17:21-07:00 DEBUG: HORDE Hook browser_modify in  
application horde called. [pid 13427 on line 1826 of  
"/disk2/src/horde/framework/Core/lib/Horde.php"]
2012-02-15T22:17:21-07:00 DEBUG: HORDE Horde_Registry: retrieved app  
with cache ID  
horde_registry|app|1329184088|8bbed9e4eac921e350d64930c2cdc722 [pid  
13427 on line 1730 of  
"/disk2/src/horde/framework/Core/lib/Horde/Registry.php"]
2012-02-15T22:17:21-07:00 DEBUG: HORDE Load config file (hooks.php;  
app: imp) [pid 13427 on line 865 of  
"/disk2/src/horde/framework/Core/lib/Horde.php"]
2012-02-15T22:17:21-07:00 DEBUG: HORDE Hook preauthenticate in  
application imp called. [pid 13427 on line 1826 of  
"/disk2/src/horde/framework/Core/lib/Horde.php"]
2012-02-15T22:17:21-07:00 DEBUG: HORDE [imp] Load config file  
(conf.php; app: imp) [pid 13427 on line 865 of  
"/disk2/src/horde/framework/Core/lib/Horde.php"]
2012-02-15T22:17:21-07:00 DEBUG: HORDE [imp] Load config file  
(backends.php; app: imp) [pid 13427 on line 865 of  
"/disk2/src/horde/framework/Core/lib/Horde.php"]
2012-02-15T22:17:22-07:00 DEBUG: HORDE Hook preauthenticate in  
application imp called. [pid 13427 on line 1826 of  
"/disk2/src/horde/framework/Core/lib/Horde.php"]
2012-02-15T22:17:22-07:00 DEBUG: HORDE [gollem] Load config file  
(conf.php; app: gollem) [pid 13427 on line 865 of  
"/disk2/src/horde/framework/Core/lib/Horde.php"]
2012-02-15T22:17:22-07:00 DEBUG: HORDE [horde] Horde_Rpc::__construct  
complete [pid 13427 on line 96 of  
"/disk2/src/horde/framework/Rpc/lib/Horde/Rpc.php"]
2012-02-15T22:17:22-07:00 DEBUG: HORDE [horde] Hook preauthenticate in  
application imp called. [pid 13427 on line 1826 of  
"/disk2/src/horde/framework/Core/lib/Horde.php"]
2012-02-15T22:17:22-07:00 DEBUG: HORDE [horde] Hook postauthenticate  
in application imp called. [pid 13427 on line 1826 of  
"/disk2/src/horde/framework/Core/lib/Horde.php"]






More information about the bugs mailing list