[horde] Re: Bug on imap list users patch proposed

Jan Schneider jan at horde.org
Mon Feb 28 08:25:05 PST 2005


Zitat von LALOT Dominique <lalot at univ-aix.fr>:

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

This has been fixed in CVS already.

> 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
>
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>



Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the horde mailing list