<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>ActiveSync uses backends.php rather than backends.local.php</title> 
  <pubDate>Fri, 10 Apr 2026 02:02:30 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/13635</link> 
  <atom:link rel="self" type="application/rss+xml" title="ActiveSync uses backends.php rather than backends.local.php" href="https://bugs.horde.org/ticket/13635/rss" /> 
  <description>ActiveSync uses backends.php rather than backends.local.php</description> 
 
   
   
  <item> 
   <title>Using backends.local.php to store all backend configs as adv</title> 
   <description>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 &quot;/usr/share/php/Horde/Registry/Loadconfig.php&quot;]
Oct 19 14:34:05 ip-10-164-43-162 HORDE: [horde] Horde_Rpc::__construct complete [pid 16745 on line 47 of &quot;/usr/share/php/Horde/Rpc/ActiveSync.php&quot;]
Oct 19 14:34:05 ip-10-164-43-162 HORDE: Horde_Rpc_ActiveSync::getResponse() starting for OPTIONS [pid 16745 on line 159 of &quot;/var/www/horde/rpc.php&quot;]
Oct 19 14:34:05 ip-10-164-43-162 HORDE: Load config file (hooks.php; app: imp) [pid 16745 on line 109 of &quot;/usr/share/php/Horde/Registry/Loadconfig.php&quot;]
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 &quot;/usr/share/php/Horde/Registry/Loadconfig.php&quot;]
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 &quot;/usr/share/php/Horde/Registry/Loadconfig.php&quot;]
Oct 19 14:34:05 ip-10-164-43-162 HORDE: [imp] [login] Error connecting to mail server. [pid 16745 on line 726 of &quot;/var/www/horde/imp/lib/Imap.php&quot;]
Oct 19 14:34:05 ip-10-164-43-162 HORDE:  1. Horde_Rpc_ActiveSync-&gt;getResponse() /var/www/horde/rpc.php:159#012 2. Horde_ActiveSync-&gt;handleRequest() /usr/share/php/Horde/Rpc/ActiveSync.php:122#012 3. Horde_ActiveSync-&gt;authenticate() /usr/share/php/Horde/ActiveSync.php:703#012 4. Horde_Core_ActiveSync_Driver-&gt;authenticate() /usr/share/php/Horde/ActiveSync.php:542#012 5. Horde_Core_ActiveSync_Auth-&gt;authenticate() /usr/share/php/Horde/Core/ActiveSync/Driver.php:213#012 6. Horde_Core_Auth_Application-&gt;authenticate() /usr/share/php/Horde/Core/ActiveSync/Auth.php:63#012 7. Horde_Core_Auth_Application-&gt;authenticate() /usr/share/php/Horde/Core/Auth/Application.php:126#012 8. Horde_Auth_Base-&gt;authenticate() /usr/share/php/Horde/Core/Auth/Application.php:129#012 9. Horde_Core_Auth_Application-&gt;_authenticate() /usr/share/php/Horde/Auth/Base.php:160#01210. Horde_Registry-&gt;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-&gt;authAuthenticate()#01213. IMP_Auth::authenticate() /var/www/horde/imp/lib/Application.php:371#01214. IMP_Imap-&gt;login() /var/www/horde/imp/lib/Auth.php:86#01215. IMP_Imap-&gt;__call() /var/www/horde/imp/lib/Auth.php:86#01216. Horde_Rpc_ActiveSync-&gt;getResponse() /var/www/horde/rpc.php:159#01217. Horde_ActiveSync-&gt;handleRequest() /usr/share/php/Horde/Rpc/ActiveSync.php:122#01218. Horde_ActiveSync-&gt;authenticate() /usr/share/php/Horde/ActiveSync.php:703#01219. Horde_Core_ActiveSync_Driver-&gt;authenticate() /usr/share/php/Horde/ActiveSync.php:542#01220. Horde_Core_ActiveSync_Auth-&gt;authenticate() /usr/share/php/Horde/Core/ActiveSync/Driver.php:213#01221. Horde_Core_Auth_Application-&gt;authenticate() /usr/share/php/Horde/Core/ActiveSync/Auth.php:63#01222. Horde_Core_Auth_Application-&gt;authenticate() /usr/share/php/Horde/Core/Auth/Application.php:126#01223. Horde_Auth_Base-&gt;authenticate() /usr/share/php/Horde/Core/Auth/Application.php:129#01224. Horde_Core_Auth_Application-&gt;_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.</description> 
   <pubDate>Sun, 19 Oct 2014 16:25:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13635#t86077</link> 
  </item> 
   
  <item> 
   <title>The *.local files are not announced in the log if they are l</title> 
   <description>The *.local files are not announced in the log if they are loaded. You 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.</description> 
   <pubDate>Mon, 20 Oct 2014 14:17:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13635#t86081</link> 
  </item> 
   
  <item> 
   <title>
&gt; The log suggested that it was loading backends.php rathe</title> 
   <description>
&gt; The log suggested that it was loading backends.php rather than 
&gt; backends.local.php.

Also, this statement is misleading. We don&#039;t load either/or. Both 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.</description> 
   <pubDate>Mon, 20 Oct 2014 14:19:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13635#t86082</link> 
  </item> 
   
  <item> 
   <title>Thanks Michael. Apologies, will double check and get back to</title> 
   <description>Thanks Michael. Apologies, will double check and get back to you. In the meantime, is there any way that loading of .local.conf could be logged?</description> 
   <pubDate>Mon, 20 Oct 2014 17:25:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13635#t86100</link> 
  </item> 
   
  <item> 
   <title>&gt; Thanks Michael. Apologies, will double check and get back </title> 
   <description>&gt; Thanks Michael. Apologies, will double check and get back to you. In 
&gt; the meantime, is there any way that loading of .local.conf could be 
&gt; logged?

It is.  If &#039;registry.php&#039; is identified as loaded in the logs, and registry.local.php exists, then it was loaded.

&#039;registry.local.php&#039; is a component of registry.php (not a separate config file) so the logging semantics are correct.</description> 
   <pubDate>Mon, 20 Oct 2014 18:01:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13635#t86103</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
