Summary | Synchronisation of calendar via SyncML fails |
Queue | Synchronization |
Queue Version | Git master |
Type | Bug |
State | Not Reproducible |
Priority | 1. Low |
Owners | |
Requester | mm (at) freebsd (dot) org |
Created | 07/07/2013 (4358 days ago) |
Due | |
Updated | 06/10/2023 (733 days ago) |
Assigned | 01/19/2016 (3432 days ago) |
Resolved | 02/11/2016 (3409 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
plain text format.
If your session is saved as file (e.g. /tmp , etc) , pay attention to
its security (esp shared platform).
7.4 environment to AlmaLinux 9 with manual installed PHP 7.4
environment.
Then, inside AlmaLinux 9 , I encountered the same error - "IMP is
marked as authenticated, but no credentials can be found in the
session."
After a day study, it seems
$_SESSION[imp][imap_ob_pass/xxxxxxxxxxxxxxxxxxx] -> become nothing
If I manually modified the file - imp/lib/Imap/Password.php
inside "public function serialize()"
changed
from
$session->set('imp', self::PASSWORD_KEY . '/' . $this->_id,
$this->_password, $session::ENCRYPT);
to
$session->set('imp', self::PASSWORD_KEY . '/' . $this->_id,
$this->_password, 0 );
It seems working again.
(the password is stored in PHP session in plain text format.)
State ⇒ Feedback
back from the device to the server just fine. Is anybody still seeing
this?
would receive new contacts and calendar items from horde, but anything
created or changed client-side would not sync back. Any updates made
to previously-synced items on the server side would also not sync to
the client.
- Horde 5.2.2 (PEAR installation)
- Funambol Sync Client 10.1.6
- Outlook 2010 (14.0.7128.5000 x86)
Originally had similar 'HORDE [ingo] IMP is marked as authenticated,
but no credentials can be found in the session.' in logfiles from
previous testing, but now I'm getting the following:
------------------------------
2014-09-15T14:33:07+00:00 WARN: HORDE PHP ERROR: session_destroy():
Trying to destroy uninitialized session [pid 6180 on line 303 of
"/home/xxx/horde/public_html/pear/php/Horde/Session.php"]
2014-09-15T14:33:09+00:00 WARN: HORDE PHP ERROR: session_destroy():
Trying to destroy uninitialized session [pid 6276 on line 303 of
"/home/xxx/horde/public_html/pear/php/Horde/Session.php"]
2014-09-15T14:33:10+00:00 WARN: HORDE PHP ERROR: session_destroy():
Trying to destroy uninitialized session [pid 6279 on line 303 of
"/home/xxx/horde/public_html/pear/php/Horde/Session.php"]
2014-09-15T14:33:10+00:00 INFO: HORDE Finished sync of database card
user bb@xxx.com dev fol-TU9CU1JEQy1NSVMyOmJicm93bjM=. Failures: 0;
changes from client (Add, Replace, Delete, AddReplaces): 0, 0, 0, 0;
changes from server (Add, Replace, Delete): 0, 0, 0 [pid 6279 on line
512 of
"/home/xxx/horde/public_html/pear/php/Horde/SyncMl/ContentHandler.php"]
-----------------------------
I tried different session handlers (builtin/filesystem/mysql) and all
methods left the same entries in the log.
The Funambol log shows no errors in synchronization, and does record
the correct amount of new/changed items in testing. It also doesn't
try and re-send anything, even if the items didn't make it into horde
in a previous sync, which would seem to indicate that horde is
recording the synchronization tokens properly, but it isn't
creating/updating the actual items.
I'll update here if I find a solution. We want to replace our antique
Exchange environment with horde but this is a deal-breaking issue for
us as we have a lot of users on Outlook 2010.
here the same problem.
Horde 5.1.4 under FreeBSD with Blackberry Funambol-Client
funambol fails when try to synchronice calendar
looked at... Maybe everyone on this bug can jump on the bandwagon...
#13004is the new bug
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.
I connect LDAP on 1390 port because I have installed it on a Zentyal
2.2 slave machine (mail server).
Web Applications and ActiveSync are working fine.
But with syncml, all my devices and software clients are failing to
sync calendar.
I must report that I have another server with a standalone Zentyal
configuration, using port 389, and syncml is working correctly.
On the faulty server I've got these messages in my syslog:
Sep 10 16:39:01 mail HORDE: [ingo] User is not authorized for imp [pid
10391 on line 1520 of "/usr/share/php/Horde/Registry.php"]
Sep 10 16:39:01 mail HORDE: [kronolith] User is not authorized for imp
[pid 10391 on line 1612 of "/usr/share/php/Horde/Registry.php"]
Sep 10 16:39:01 mail HORDE: [horde] calendar/list or calendar/listBy
failed while retrieving server additions:User is not authorized for
imp [pid 10391 on line 296 of
"/usr/share/php/Horde/SyncMl/Backend/Horde.php"]
Sep 10 16:39:01 mail HORDE: [horde] PHP ERROR: Invalid argument
supplied for foreach() [pid 10391 on line 452 of
"/usr/share/php/Horde/SyncMl/Sync.php"]
Sep 10 16:39:01 mail HORDE: [horde] PHP ERROR: Invalid argument
supplied for foreach() [pid 10391 on line 475 of
"/usr/share/php/Horde/SyncMl/Sync.php"]
Sep 10 16:39:01 mail HORDE: [horde] PHP ERROR: Invalid argument
supplied for foreach() [pid 10391 on line 529 of
"/usr/share/php/Horde/SyncMl/Sync.php"]
Sep 10 16:39:01 mail HORDE: [horde] PHP ERROR: session_destroy():
Trying to destroy uninitialized session [pid 10398 on line 303 of
"/usr/share/php/Horde/Session.php"]
Sep 10 16:39:01 mail HORDE: [horde] Finished sync of database card.
Failures: 0; changes from client (Add, Replace, Delete, AddReplaces):
0, 0, 0, 0; changes from server (Add, Replace, Delete): 0, 0, 0 [pid
10398 on line 512 of "/usr/share/php/Horde/SyncMl/ContentHandler.php"]
Sep 10 16:39:01 mail HORDE: [horde] Finished sync of database
calendar. Failures: 0; changes from client (Add, Replace, Delete,
AddReplaces): 0, 0, 0, 0; changes from server (Add, Replace, Delete):
0, 0, 0 [pid 10398 on line 512 of
"/usr/share/php/Horde/SyncMl/ContentHandler.php"]
Sep 10 16:39:01 mail HORDE: [horde] Finished sync of database task.
Failures: 0; changes from client (Add, Replace, Delete, AddReplaces):
0, 0, 0, 0; changes from server (Add, Replace, Delete): 0, 0, 0 [pid
10398 on line 512 of "/usr/share/php/Horde/SyncMl/ContentHandler.php"]
throughs following error
"Problem loading mail folders from IMAP server: IMP is marked as
authenticated, but no credentials can be found in the session."
Wheras IMP is working fine, I am able to login, send and receive email.
I have selected authatication by application and selected application
is IMP from the GUI configuration.
please help!
Calendar sync over SyncML is not processed (ActiveSync works).
Tasks, card and notes go on well.
There are errors in the log output (attached).
client. I'm also using using application-based authentication over IMP.
Any update on this?
Patch ⇒ No
State ⇒ Unconfirmed
New Attachment: horde_log.txt
Milestone ⇒
Queue ⇒ Synchronization
Summary ⇒ Synchronisation of calendar via SyncML fails
Type ⇒ Bug
Priority ⇒ 1. Low
Calendar sync over SyncML is not processed (ActiveSync works). Tasks,
card and notes go on well.
There are errors in the log output (attached).