[Tickets #1566] KOLAB: delete calendar via webclient fails
bugs@bugs.horde.org
bugs at bugs.horde.org
Tue May 10 14:54:38 PDT 2005
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=1566
-----------------------------------------------------------------------
Ticket | 1566
Updated By | zmully-kolab at smartbrief.com
Summary | KOLAB: delete calendar via webclient fails
Queue | Kronolith
Version | HEAD
State | Assigned
Priority | 1. Low
Type | Bug
Owners | Stuart K Bingë
-----------------------------------------------------------------------
zmully-kolab at smartbrief.com (2005-05-10 14:54) wrote:
looking at the code in Cr/Kolab/Kolab.php, it appears that all share
operations are being done with the admin login, which is causing this
problem. See line ~1220 for an example:
$result =
$imap->login($conf['kolab']['imap']['adminuser'],$conf['kolab']['imap']['adm
inpw'], false, false);
if (is_a($result, 'PEAR_Error')) {
return $result;
}
I changed this to use the user login but that breaks the share
synchronization. I am not yet familiar with the code, so I'd appreciate a
pointer in the right direction. I replaced the above code with:
$result =
$imap->login(Auth::getAuth(),Auth::getCredential('password'),false, false);
if (is_a($result, 'PEAR_Error')) {
return $result;
}
More information about the bugs
mailing list