[horde] IMP login / redirect.php problem | Horde authentication affected as well

Sergey Dushenkov dusha at mcl.ru
Mon Jan 17 11:52:07 PST 2005


Hi.

Finally I've decided to upgrade to Imp 4x / Horde 3x
Installation was successful but I have a problem that I'm unable to
overcome.

All Horde PHP tests are fine
All IMP PHP tests (incl. IMAP section) are fine.
I'm using Imap authentication.

I'm open to give an URL for appropriate test.php if required.

When I have deafult authentication configured by Horde (IMAP to local
server), after a logon I see an empty page with URL somth like:

http://server//horde/login.php?nocache=621ycjsxqv0g

string after nocache= is changing when I try to logon again.

Moreover, If I hit BACK in the browser, or just delete
"login.php?nocache=621ycjsxqv0g" from the url and click submit in the
browser (without closing it) - I'm getting IN!!!

Nearly the same problem with IMP.
No matter if IMP is configured to perform authentication, or I do it after
Horde auth.

After login and password are submitted, I'm getting the blank screen with
URL:

http://server/horde/imp/redirect.php

URL is always the same after IMP auth.
Looks like the redirect.php is not putting up a session???

And again, when I try BACK or remove redirect.php from URL, I'm getting into
IMP.

I've looked through httpd logs, maillogs and eveything appears to be fine.
Below are some line from httpd log:

217.xxxx - - [17/Jan/2005:22:26:52 +0300] "GET / HTTP/1.1" 302 26
217.xxxx - - [17/Jan/2005:22:26:54 +0300] "GET
/horde/login.php?Horde=19cbf1a31660acc81b525caa2d96a42f HTTP/1.1" 302 26
217.xxxx - - [17/Jan/2005:22:26:55 +0300] "GET /horde/imp/login.php
HTTP/1.1" 200 2759
217.xxxx - - [17/Jan/2005:22:26:57 +0300] "GET /horde/js/enter_key_trap.js
HTTP/1.1" 304 -
217.xxxx - - [17/Jan/2005:22:26:57 +0300] "GET /horde/themes/screen.css
HTTP/1.1" 304 -
217.xxxx - - [17/Jan/2005:22:26:58 +0300] "GET
/horde/themes/bluewhite/screen.css HTTP/1.1" 304 -
217.xxxx - - [17/Jan/2005:22:26:58 +0300] "GET /horde/imp/themes/screen.css
HTTP/1.1" 304 -
217.xxxx - - [17/Jan/2005:22:26:58 +0300] "GET
/horde/imp/themes/bluewhite/screen.css HTTP/1.1" 304 -
217.xxxx - - [17/Jan/2005:22:26:58 +0300] "GET
/horde/themes/graphics/horde-power1.png HTTP/1.1" 304 -
217.xxxx - - [17/Jan/2005:22:27:06 +0300] "POST /horde/imp/redirect.php
HTTP/1.1" 200 26

Looks like that notthing happens after the POST action (redirect.php should
take login and redirect to the proper page)

I've tried to configure Horde/IMP on two different Linux machines (to ensure
that this is not platform dependant problem)
Situation is the same on both installations (or I am making the same
errors...)

Config1: Redhat Linux 7.3 / 2.4 kernel / glibc 2.2 / PHP 4.3.10 / apache 1.3
/ imap-2001
Config2: Fedora Core 3  / 2.6 kernel / glibc 2.3 / PHP 4.3.10 / httpd 2.0.52
/ cyrus-imapd v2

Config 2 is fresh installation with all updates in place.

I can provide all configs by request.
As well I can arrange a test shell/mail account to look into the problem
locally.
If that doesn't help or not enough, I'm ready to discuss to give a SU
account...

Thanks in advance.


Sergey








More information about the horde mailing list