[horde] Horde 4.0-BETA1: Error messages: "EMERG: HORDE Horde_Imap_Client requires a username and password. [pid 1400 on line 137 of "/usr/share/php/Horde/Imap/Client/Base.php"

gimili gimili17 at gmail.com
Thu Mar 24 19:35:35 UTC 2011


On 3/24/11 2:58 PM, Michael M Slusarz wrote:
> Quoting gimili <gimili17 at gmail.com>:
>
>>>>> "2011-03-18T16:52:38-04:00 EMERG: HORDE [horde] Horde_Imap_Client 
>>>>> requires a user name and password. [pid 1403 on line 137 of 
>>>>> "/use/share/php/Horde/Imap/Client/Base.php"]
>>>
>>
>> I **think** I figured out what I was doing wrong.  I changed the 
>> horde authentication from IMAP to "Let a horde application handle 
>> authentication" and then I set "The application which is providing 
>> authentication" to "imp".  This is different from what I used to do 
>> in Horde3.
>>
>> My new /horde/config/conf.php which seems to work with errors in the 
>> log is:
>
> [snip]
>
>> $conf['auth']['params']['app'] = 'imp';
>> $conf['auth']['driver'] = 'application';
>
> This looks correct.
>
>> $conf['auth']['params']['hostspec'] = '192.168.10.16';
>> $conf['auth']['params']['port'] = 144;
>> $conf['auth']['params']['secure'] = 'none';
>> $conf['auth']['driver'] = 'imap';
>
> This is also correct, and I verify that using this setup, along with 
> hordeauth in imp, works fine with no errors thrown.
>
> For the record: note that 'imap' is really not all that useful as a 
> standalone authentication - people are going to want 'IMP' 
> authentication 99.9% of the time if they use IMP since it will reuse 
> the same IMAP connection for both authentication and the various IMAP 
> calls used in imp.  If using 'imap' with hordeauth = 'true', 2 
> separate IMAP connections will be created.
>
> michael
>
> ___________________________________
> Michael Slusarz [slusarz at horde.org]
>
I get the error in my log even when I only use horde and IMAP.  Probably 
something wrong with my system.  As mentioned it is working fine with 
the 'IMP' authentication.
Thanks for the advice and info.

-- 
gimili



More information about the horde mailing list