Summary | ActiveSync uses backends.php rather than backends.local.php |
Queue | IMP |
Queue Version | 6.2.2 |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | |
Requester | ronald (at) rmacd (dot) com |
Created | 10/19/2014 (3909 days ago) |
Due | |
Updated | 10/29/2014 (3899 days ago) |
Assigned | 10/20/2014 (3908 days ago) |
Resolved | 10/29/2014 (3899 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
the meantime, is there any way that loading of .local.conf could be
logged?
registry.local.php exists, then it was loaded.
'registry.local.php' is a component of registry.php (not a separate
config file) so the logging semantics are correct.
the meantime, is there any way that loading of .local.conf could be
logged?
backends.local.php.
files are loaded with the .local version overriding settings in the
non-local. You should only add items that are different in the local
file, not the entire entry.
State ⇒ Feedback
will only see an error if they exist, but cannot be loaded for some
reason.
Also, ActiveSync has no control over what config files are or are not loaded.
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ ActiveSync uses backends.php rather than backends.local.php
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
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.