[dev] Latest HEAD + cyrus imap [BUG]

Marc Jauvin marc at r4l.com
Wed Sep 28 07:25:25 PDT 2005


OK, here is more details; I modified "_runCommand()" to print the $res when
there is an error (of course, passwords have been changed below):

pear_error Object ( [error_message_prefix] => [mode] => 1 [level] => 
1024 [code]
=> horde.error [message] => Could not complete request. Reason Given: Login
failed: user not found [userinfo] => [backtrace] => Array ( [0] => Array (
[file] => /usr/lib/php/PEAR.php [line] => 543 [function] => pear_error [class]
=> pear_error [type] => ->  [args] => Array ( [0] => Could not complete
request. Reason Given: Login failed: user not found [1] => horde.error 
[2] => 1
[3] => 1024 [4] => ) ) [1] => Array ( [file] =>
/var/www/localhost/htdocs/horde-HEAD.dev/imp/lib/IMAP/Client.php [line] => 384
[function] => raiseerror [class] => pear [type] => :: [args] => Array ( [0] =>
Could not complete request. Reason Given: Login failed: user not found [1] =>
horde.error ) ) [2] => Array ( [file] =>
/var/www/localhost/htdocs/horde-HEAD.dev/imp/lib/IMAP/Client.php [line] => 173
[function] => _retrieveimapresponse [class] => imp_imapclient [type] => ->
[args] => Array ( [0] => A002 [1] => Array ( [A002] => NO ) [2] => Array (
[A002] => Login failed: user not found ) ) ) [3] => Array ( [file] =>
/var/www/localhost/htdocs/horde-HEAD.dev/imp/lib/IMAP/Client.php [line] => 534
[function] => _runcommand [class] => imp_imapclient [type] => ->  [args] =>
Array ( [0] => LOGIN "marc" "secret" ) ) [4] => Array ( [file] =>
/var/www/localhost/htdocs/horde-HEAD.dev/imp/lib/Session.php [line] => 266
[function] => login [class] => imp_imapclient [type] => ->  [args] => Array (
[0] => marc [1] => secret ) ) [5] => Array ( [file] =>
/var/www/localhost/htdocs/horde-HEAD.dev/imp/redirect.php [line] => 150
[function] => createsession [class] => imp_session [type] => :: [args] 
=> Array
( [0] => marc [1] => secret [2] => mail.webmail4less.com [3] => Array ( [name]
=> Cyrus IMAP Server [server] => mail.webmail4less.com [hordeauth] =>
[protocol] => imap/notls [port] => 143 [smtphost] => mx1.r4l.com [smtpport] =>
25 [maildomain] => [realm] => [preferred] => [admin] => Array ( [params] =>
Array ( [login] => cyrus [password] => moresecret [userhierarchy] => user.
[protocol] => imap/notls [hostspec] => 10.0.0.3 [port] => 143 ) ) [quota] =>
Array ( [driver] => cyrus [params] => Array ( [login] => cyrus [password] =>
moresecret [userhierarchy] => user. [protocol] => imap/notls [hostspec] =>
10.0.0.3 [port] => 143 ) ) [acl] => Array ( [driver] => rfc2086 ) 
[dotfiles] =>
) ) ) ) [callback] => )





Marc Jauvin <marc at r4l.com> wrote:

> Michael M Slusarz <slusarz at mail.curecanti.org> wrote:
>
>> Quoting Marc Jauvin <marc at r4l.com>:
>>
>>> I'm really NOT knowledgable enough to play in that code, sorry.
>>>
>>> Michael M Slusarz <slusarz at mail.curecanti.org> wrote:
>>>
>>>> Quoting Marc Jauvin <marc at r4l.com>:
>>>>
>>>>> Hi Michael, any progress on this?
>>>>>
>>>>> Thanks.
>>>>>
>>>>> Marc Jauvin <marc at r4l.com> wrote:
>>>>>
>>>>>> Here is the login page error:
>>>>>>
>>>>>>    Could not retrieve namespace information from IMAP server.
>>>>
>>>> No.  If namespace information can not be retrieved from your IMAP
>>>> server, you need to debug IMAP_Client and the namespace detection
>>>> methods to determine why it is failing on your system (since it seems
>>>> to be working fine for all developers).
>>
>> On line 662 of current CVS, right after:
>>  $read = $this->_runCommand('NAMESPACE');
>>
>> put in a:
>>  print_r($read);
>>  exit;
>>
>> and post the output.
>
> It gave me a blank page... not much help, I guess!?
>
>
>
> --
> Marc Jauvin
> http://register4less.com
> 514-905-6500
>
> --
> Horde developers mailing list - Join the hunt: http://horde.org/bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>



-- 
Marc Jauvin
http://register4less.com
514-905-6500


More information about the dev mailing list