[horde] Bug on imap list users patch proposed

LALOT Dominique lalot at univ-aix.fr
Mon Feb 28 08:11:24 PST 2005


I had a bug using stable and CVS with cyrus imap. I was obliged to 
change that file:

vi ./imp-h3-4.0.2/lib/api.php
 line 265
function _imp_userList()
{
    $params = $_SESSION['imp']['admin']['params'];
    $params['admin_user'] = $params['login'];
This line was lacking ...
    $params['admin_password'] = Secret::read(Secret::getKey('imp'), 
$params['password']);
    #$params['admin_password'] = $params['password'];
    require_once 'Horde/IMAP/Admin.php';
    $imap = &new IMAP_Admin($params);
    return $imap->listMailboxes();
}

Hope this helps

Dom

-- 
Dominique LALOT 
Ingénieur Système Réseau CISCAM Pole Réseau
Université de la Méditerranée http://annuaire.univ-mrs.fr/showuser.php?uid=lalot



More information about the horde mailing list