[Tickets #13635] ActiveSync uses backends.php rather than backends.local.php

noreply at bugs.horde.org noreply at bugs.horde.org
Sun Oct 19 16:25:58 UTC 2014


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

Ticket URL: https://bugs.horde.org/ticket/13635
------------------------------------------------------------------------------
  Ticket             | 13635
  Created By         | ronald at rmacd.com
  Summary            | ActiveSync uses backends.php rather than
                     | backends.local.php
  Queue              | IMP
  Version            | 6.2.2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


ronald at rmacd.com (2014-10-19 16:25) wrote:

Using backends.local.php to store all backend configs as advised.  
However, passing -X OPTIONS with -k -u (username) through curl, I see  
a 401 and the following in syslog output:

Oct 19 14:34:05 ip-10-164-43-162 HORDE: Load config file (nls.php;  
app: horde) [pid 16745 on line 109 of  
"/usr/share/php/Horde/Registry/Loadconfig.php"]
Oct 19 14:34:05 ip-10-164-43-162 HORDE: [horde] Horde_Rpc::__construct  
complete [pid 16745 on line 47 of  
"/usr/share/php/Horde/Rpc/ActiveSync.php"]
Oct 19 14:34:05 ip-10-164-43-162 HORDE:  
Horde_Rpc_ActiveSync::getResponse() starting for OPTIONS [pid 16745 on  
line 159 of "/var/www/horde/rpc.php"]
Oct 19 14:34:05 ip-10-164-43-162 HORDE: Load config file (hooks.php;  
app: imp) [pid 16745 on line 109 of  
"/usr/share/php/Horde/Registry/Loadconfig.php"]
Oct 19 14:34:05 ip-10-164-43-162 HORDE: [imp] Load config file  
(conf.php; app: imp) [pid 16745 on line 109 of  
"/usr/share/php/Horde/Registry/Loadconfig.php"]
Oct 19 14:34:05 ip-10-164-43-162 HORDE: [imp] Load config file  
(backends.php; app: imp) [pid 16745 on line 109 of  
"/usr/share/php/Horde/Registry/Loadconfig.php"]
Oct 19 14:34:05 ip-10-164-43-162 HORDE: [imp] [login] Error connecting  
to mail server. [pid 16745 on line 726 of  
"/var/www/horde/imp/lib/Imap.php"]
Oct 19 14:34:05 ip-10-164-43-162 HORDE:  1.  
Horde_Rpc_ActiveSync->getResponse() /var/www/horde/rpc.php:159#012 2.  
Horde_ActiveSync->handleRequest()  
/usr/share/php/Horde/Rpc/ActiveSync.php:122#012 3.  
Horde_ActiveSync->authenticate()  
/usr/share/php/Horde/ActiveSync.php:703#012 4.  
Horde_Core_ActiveSync_Driver->authenticate()  
/usr/share/php/Horde/ActiveSync.php:542#012 5.  
Horde_Core_ActiveSync_Auth->authenticate()  
/usr/share/php/Horde/Core/ActiveSync/Driver.php:213#012 6.  
Horde_Core_Auth_Application->authenticate()  
/usr/share/php/Horde/Core/ActiveSync/Auth.php:63#012 7.  
Horde_Core_Auth_Application->authenticate()  
/usr/share/php/Horde/Core/Auth/Application.php:126#012 8.  
Horde_Auth_Base->authenticate()  
/usr/share/php/Horde/Core/Auth/Application.php:129#012 9.  
Horde_Core_Auth_Application->_authenticate()  
/usr/share/php/Horde/Auth/Base.php:160#01210.  
Horde_Registry->callAppMethod()  
/usr/share/php/Horde/Core/Auth/Application.php:158#01211.  
call_user_func_array() /usr/share/php/Horde/Registry.php:1201#01212.  
IMP_Application->authAuthenticate()#01213. IMP_Auth::authenticate()  
/var/www/horde/imp/lib/Application.php:371#01214. IMP_Imap->login()  
/var/www/horde/imp/lib/Auth.php:86#01215. IMP_Imap->__call()  
/var/www/horde/imp/lib/Auth.php:86#01216.  
Horde_Rpc_ActiveSync->getResponse() /var/www/horde/rpc.php:159#01217.  
Horde_ActiveSync->handleRequest()  
/usr/share/php/Horde/Rpc/ActiveSync.php:122#01218.  
Horde_ActiveSync->authenticate()  
/usr/share/php/Horde/ActiveSync.php:703#01219.  
Horde_Core_ActiveSync_Driver->authenticate()  
/usr/share/php/Horde/ActiveSync.php:542#01220.  
Horde_Core_ActiveSync_Auth->authenticate()  
/usr/share/php/Horde/Core/ActiveSync/Driver.php:213#01221.  
Horde_Core_Auth_Application->authenticate()  
/usr/share/php/Horde/Core/ActiveSync/Auth.php:63#01222.  
Horde_Core_Auth_Application->authenticate()  
/usr/share/php/Horde/Core/Auth/Application.php:126#01223.  
Horde_Auth_Base->authenticate()  
/usr/share/php/Horde/Core/Auth/Application.php:129#01224.  
Horde_Core_Auth_Application->_authenticate()  
/usr/share/php/Horde/Auth/Base.php:160


The log suggested that it was loading backends.php rather than  
backends.local.php.

Sure enough, when I removed backends.php and symlinked the back to  
backends.local.php, ActiveSync started working again.





More information about the bugs mailing list