[Kolab-devel] [issue3441] Resources with policy "always accept" do not work if domain != kolabhost
Thomas Arendsen Hein
kolab-issues at intevation.de
Thu Feb 26 13:02:09 CET 2009
New submission from Thomas Arendsen Hein <thomas at intevation.de>:
Kolab Server before 2.2.1-rc1 (CVS 20090224):
Host kolab.example.com hosts resource at example.com which has invitation policy
"always accept".
When trying to invite this resource, the filter.log contains:
Feb 26 12:45:33 Kolab Filter [debug] [horde] Arguments: Horde_Argv_Values Object
(
[sender] => user at example.com
[recipient] => Array
(
[0] => resource at example.com
)
[host] => kolab.example.com
[client] => 127.0.0.1
[user] =>
[config] => /kolab/etc/kolab/kolabfilter.conf
)
[on line 244 of "/kolab/lib/php/Horde/Kolab/Filter/Base.php"]
Feb 26 12:45:33 Kolab Filter [debug] [horde] Found iCal data in message [on line
78 of "/kolab/lib/php/Horde/Kolab/Filter/Incoming.php"]
Feb 26 12:45:33 Kolab Filter [debug] [horde] Calling
resmgr_filter(kolab.example.com, user at example.com, resource at example.com,
/tmp/IN.Horde_Kolab_Filter_Incoming.2MyAjG) [on line 137 of
"/kolab/lib/php/Horde/Kolab/Filter/Incoming.php"]
Feb 26 12:45:33 Kolab Filter [debug] [horde] Action for user at example.com is
ACT_ALWAYS_ACCEPT [on line 351 of "/kolab/lib/php/Horde/Kolab/Resource.php"]
Feb 26 12:45:33 Kolab Filter [debug] [horde] Processing REQUEST method for
resource at example.com [on line 383 of "/kolab/lib/php/Horde/Kolab/Resource.php"]
Feb 26 12:45:33 Kolab Filter [debug] [horde] Event has UID
libkcal-1152711677.515 [on line 388 of "/kolab/lib/php/Horde/Kolab/Resource.php"]
Feb 26 12:45:33 Kolab Filter [debug] [horde] Request made by user at example.com
[on line 393 of "/kolab/lib/php/Horde/Kolab/Resource.php"]
Feb 26 12:45:33 Kolab Filter [debug] [horde] Converting to epoch 1236254400 [on
line 1071 of "/kolab/lib/php/Horde/Kolab/Resource.php"]
Feb 26 12:45:33 Kolab Filter [debug] [horde] Converted <1236254400> [on line
1082 of "/kolab/lib/php/Horde/Kolab/Resource.php"]
Feb 26 12:45:33 Kolab Filter [debug] [horde] Converting to epoch 1236261600 [on
line 1071 of "/kolab/lib/php/Horde/Kolab/Resource.php"]
Feb 26 12:45:33 Kolab Filter [debug] [horde] Converted <1236261600> [on line
1082 of "/kolab/lib/php/Horde/Kolab/Resource.php"]
Feb 26 12:45:33 Kolab Filter [debug] [horde] Converting to kolab format
1236254400 [on line 1031 of "/kolab/lib/php/Horde/Kolab/Resource.php"]
Feb 26 12:45:33 Kolab Filter [debug] [horde] To <2009-03-05T12:00:00Z> [on line
1056 of "/kolab/lib/php/Horde/Kolab/Resource.php"]
Feb 26 12:45:33 Kolab Filter [debug] [horde] Converting to kolab format
1236261600 [on line 1031 of "/kolab/lib/php/Horde/Kolab/Resource.php"]
Feb 26 12:45:33 Kolab Filter [debug] [horde] To <2009-03-05T14:00:00Z> [on line
1056 of "/kolab/lib/php/Horde/Kolab/Resource.php"]
Feb 26 12:45:33 Kolab Filter [debug] [horde] Event starts on <1236254400>
2009-03-05T12:00:00Z and ends on <1236261600> 2009-03-05T14:00:00Z. [on line 403
of "/kolab/lib/php/Horde/Kolab/Resource.php"]
Feb 26 12:45:33 Kolab Filter [error] [horde] PHP Error: imap_open(): Couldn't
open stream {example.com:143/notls}; Code: 0 [on line 146 of
"/kolab/lib/php/Horde/Kolab/Filter/Response.php"]
Feb 26 12:45:33 Kolab Filter [error] [horde] IMAP error. Server: example.com.
Error: Connection failed to example.com,143: Connection refused; Code: [on line
105 of "/kolab/lib/php/Horde/Kolab/IMAP/cclient.php"]
Feb 26 12:45:33 Kolab Filter [error] [horde] PHP Error: Unknown: Connection
failed to example.com,143: Connection refused (errflg=2); Code: 0 [on line 146
of "/kolab/lib/php/Horde/Kolab/Filter/Response.php"]
/lib/php/Horde/Kolab/Resource.php:
handleMessage() calls _imapConnect() which calls
$list = &Kolab_List::singleton();
$default = $list->getForeignDefault($id, 'event');
which in turn calls
/kolab/lib/php/Horde/Kolab/Storage/List.php:
function &listFolders()
{
if (!isset($this->_list)) {
$session = &Horde_Kolab_Session::singleton();
$imap = &$session->getImap();
if (is_a($imap, 'PEAR_Error')) {
return $imap;
}
/kolab/lib/php/Horde/Kolab/Session.php function &singleton()
is called (the second time, it connected as calendar user earlier which worked)
and tries to login to example.com:143 instead of kolab.example.com:143 or
localhost:143,
which is wrong in many setups.
----------
assignedto: wrobel
messages: 18780
nosy: bernhard, martin, thomas, till, wilde, wrobel
priority: urgent
status: unread
title: Resources with policy "always accept" do not work if domain != kolabhost
topic: filter, release, server
___________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://www.intevation.de/roundup/kolab/issue3441>
___________________________________________________
More information about the devel
mailing list