[Tickets #12432] Re: Synchronisation of calendar via SyncML fails

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Feb 17 12:17:17 UTC 2014


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

Ticket URL: http://bugs.horde.org/ticket/12432
------------------------------------------------------------------------------
  Ticket             | 12432
  Updated By         | cne at ruhrverband.de
  Summary            | Synchronisation of calendar via SyncML fails
  Queue              | Synchronization
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


cne at ruhrverband.de (2014-02-17 12:17) wrote:

Same problem:

2014-02-17T12:33:21+01:00 ERR: HORDE [ingo] IMP is marked as  
authenticated, but no credentials can be found in the session. [pid  
25915 on line 513 of "/var/www/html/horde/imp/lib/Imap.php"]
2014-02-17T12:33:21+01:00 ERR: HORDE [kronolith] IMP is marked as  
authenticated, but no credentials can be found in the session. [pid  
25915 on line 1645 of "/usr/share/pear/Horde/Registry.php"]
2014-02-17T12:33:21+01:00 ERR: HORDE [horde]  calendar getChanges()  
failed during _fastSync: IMP is marked as authenticated, but no  
credentials can be found in the session. [pid 25915 on line 298 of  
"/usr/share/pear/Horde/SyncMl/Backend/Horde.php"]

We use IMP to authenticate from different dovecot servers. One server  
(orga) supports sieve.
This is how we choose the one in /ingo/config/backends.local.php:

/* Sieve Example */
$backendsAvailable['orga'] = array(
     // Disabled by default
     'disabled' => false,
     'preferred' => ''sievserver.domain.tld',
     'transport' => array(
         Ingo::RULE_ALL => array(
             'driver' => 'timsieved',
             'params' => array(
                 // Hostname of the timsieved server
                 'hostspec' => 'sievserver.domain.tld',
                 // Login type of the server
                 'logintype' => 'PLAIN',
                 // Enable/disable TLS encryption
                 'usetls' => true,
                 // Port number of the timsieved server
                 'port' => 4190,
                 // Name of the sieve script
                 'scriptname' => 'ingo',
                 // Enable debugging. The sieve protocol communication  
is logged
                 // with the DEBUG level.
                 'debug' => true,
             ),
         ),
     ),
     'script' => array(
         Ingo::RULE_ALL => array(
             'driver' => 'sieve',
             'params' => array(
                 // If using Dovecot or any other Sieve implementation that
                 // requires folder names to be UTF-8 encoded, set this
                 // parameter to true.
                 'utf8' => true,
              ),
         ),
     ),
     'shares' => false
);
$imap_ob = $GLOBALS['injector']->getInstance('IMP_Imap');
$currentServer = $imap_ob->getParam('hostspec');
$backends['default'] = $backendsAvailable['imap'];

foreach ($backendsAvailable as $temp) {
     if (!empty($temp['preferred'])) {
         if (is_array($temp['preferred'])) {
             foreach ($temp['preferred'] as $val) {
                 if ($val == $currentServer) {
                     $backends['default'] = $temp;
                 }
             }
          }
          elseif ($temp['preferred'] == $currentServer) {
             $backends['default'] =  $temp;
             $rvpref = $temp['preferred'];
         }
     }
}

Syncing turba works great - but SyncMLs getChanges() fails during _fastSync.





More information about the bugs mailing list