IMAP Log-on warnings with Horde/IMP

Ronnie Garcia r.garcia@netia.net
Fri, 21 Sep 2001 16:03:19 +0200


Hi,
  I didnt find anything related in horde/imp mailing lists archives, so i 
go for the post.

My setup is:

  - RH 6.2 (kernel 2.2.14)
  - Apache/1.3.20 (Unix) PHP/4.0.8-dev mod_ssl/2.8.4 OpenSSL/0.9.6b (but i 
*dont* use SSL at all, for the moment at least)
  - horde latest cvs (today)
  - imp latest cvs (today)
  - turba lastet cvs (today)
  - mysql 3.23.35 (rpm) for horde/imp prefs and turba add-books
  - standard imapd from redhat

IMP is configured to handle auth with :

$this->registry['auth']['login'] = 'imp';
$this->registry['auth']['logout'] = 'imp';

in /horde/config/registry.php


The problem is :
  When i first log-on, i get the following warnings on the horde's home page.

<horde output>
Warning: Retrying LOGIN authentication after AUTHENTICATE LOGIN failed 
(errflg=1) in Unknown on line 0
Warning: Retrying LOGIN authentication after AUTHENTICATE LOGIN failed 
(errflg=1) in Unknown on line 0
Warning: Can not authenticate to IMAP server: AUTHENTICATE LOGIN failed 
(errflg=2) in Unknown on line 0
</horde output>

<syslog first login>
Sep 21 15:44:04 ns1 imapd[23940]: Authenticated user=login-here host=host-here
Sep 21 15:44:04 ns1 imapd[23940]: Logout user=login-here host=host-here
Sep 21 15:44:06 ns1 PAM_pwdb[23941]: 1 authentication failure; (uid=0) -> 
login-here for imap service
Sep 21 15:44:06 ns1 imapd[23941]: Login failure user=login-here host=host-here
Sep 21 15:44:10 ns1 PAM_pwdb[23941]: 1 authentication failure; (uid=0) -> 
login-here for imap service
Sep 21 15:44:10 ns1 imapd[23941]: Login failure user=login-here host=nhost-here
Sep 21 15:44:14 ns1 PAM_pwdb[23941]: 1 authentication failure; (uid=0) -> 
login-here for imap service
Sep 21 15:44:14 ns1 imapd[23941]: Login failure user=login-here host=host-here
</syslog first login>

Then i click "Mail" and get to the login form again. I enter login/pass 
again, and IMP pops up.

<syslog second login>
Sep 21 15:45:10 ns1 imapd[23973]: Authenticated user=login-here host=host-here
Sep 21 15:45:10 ns1 imapd[23973]: Logout user=login-here host=host-here
Sep 21 15:45:12 ns1 imapd[23974]: Authenticated user=login-here host=host-here
Sep 21 15:45:12 ns1 imapd[23974]: Logout user=login-here host=host-here
</syslog second login>

This happens each time i close my browser, clear the cache and remove all 
cookies.

Any idea?

Ronnie Garcia.