Volker Then | 23 Oct 2006 16:28

mimp-HEAD redirects to IMP after login

Hi folks,

I changed Horde's authentication driver from "composite" to pure LDAP,  
since mimp no longer needs this configuration (see  
http://wiki.horde.org/MIMPHowTo).

After a login with Opera Mini the correct welcome screen appears. But  
when clicking on the "Mobile Mail" link I'm redirected to imp's inbox  
screen instead of mimp.

Should this be submitted to bugs.horde.org?

Bye

Volker

--

-- 
mimp mailing list - Join the hunt: http://horde.org/bounties/#mimp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: mimp-unsubscribe <at> lists.horde.org

Chuck Hagenbuch | 23 Oct 2006 19:21
Favicon
Gravatar

Re: mimp-HEAD redirects to IMP after login

Quoting Volker Then <horde <at> volkerthen.com>:

> I changed Horde's authentication driver from "composite" to pure  
> LDAP, since mimp no longer needs this configuration (see  
> http://wiki.horde.org/MIMPHowTo).
>
> After a login with Opera Mini the correct welcome screen appears.  
> But when clicking on the "Mobile Mail" link I'm redirected to imp's  
> inbox screen instead of mimp.
>
> Should this be submitted to bugs.horde.org?

Yes, but you'll need to do some digging first because I don't see this  
and I'm guessing most devs don't either.

-chuck

-- 
"we are plastered to the windshield of the bus that is time." - Chris
--

-- 
mimp mailing list - Join the hunt: http://horde.org/bounties/#mimp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: mimp-unsubscribe <at> lists.horde.org

Volker Then | 24 Oct 2006 10:08

Re: mimp-HEAD redirects to IMP after login


>> After a login with Opera Mini the correct welcome screen appears.  
>> But when clicking on the "Mobile Mail" link I'm redirected to imp's  
>> inbox screen instead of mimp.
>>
>> Should this be submitted to bugs.horde.org?
>
> Yes, but you'll need to do some digging first because I don't see  
> this and I'm guessing most devs don't either.
>

Hi Chuck,

here's an excerpt from apache log that shows the redirecting:

p07-03.opera-mini.net - - [24/Oct/2006:09:59:12 +0200] "GET  
/horde/mimp/ HTTP/1.1" 302 38  
"http://myhostname/horde/index.php?url=http%3A%2F%2Fmyhostname%2Fhorde%2Fmimp%2Findex.php"
"Opera/8.01 (J2ME/MIDP; Opera Mini/2.0.3920/1376; de; U; ssr)"  
"-"
p07-03.opera-mini.net - - [24/Oct/2006:09:59:13 +0200] "GET  
/horde/imp/redirect.php?actionID=login&autologin=1&server_key=imap  
HTTP/1.1" 302 38  
"http://myhostname/horde/index.php?url=http%3A%2F%2Fmyhostname%2Fhorde%2Fmimp%2Findex.php"
"Opera/8.01 (J2ME/MIDP; Opera Mini/2.0.3920/1376; de; U; ssr)"  
"-"

Going back and second try gives the correct mimp screen:

p07-03.opera-mini.net - - [24/Oct/2006:10:04:18 +0200] "GET  
(Continue reading)

Chuck Hagenbuch | 24 Oct 2006 20:40
Favicon
Gravatar

Re: mimp-HEAD redirects to IMP after login

Quoting Volker Then <horde <at> volkerthen.com>:

> here's an excerpt from apache log that shows the redirecting:
>
> p07-03.opera-mini.net - - [24/Oct/2006:09:59:12 +0200] "GET  
> /horde/mimp/ HTTP/1.1" 302 38  
>
"http://myhostname/horde/index.php?url=http%3A%2F%2Fmyhostname%2Fhorde%2Fmimp%2Findex.php"
"Opera/8.01 (J2ME/MIDP; Opera Mini/2.0.3920/1376; de; U; ssr)"  
> "-"
> p07-03.opera-mini.net - - [24/Oct/2006:09:59:13 +0200] "GET  
> /horde/imp/redirect.php?actionID=login&autologin=1&server_key=imap  
> HTTP/1.1" 302 38  
>
"http://myhostname/horde/index.php?url=http%3A%2F%2Fmyhostname%2Fhorde%2Fmimp%2Findex.php"
"Opera/8.01 (J2ME/MIDP; Opera Mini/2.0.3920/1376; de; U; ssr)"  
> "-"
>
>
> Going back and second try gives the correct mimp screen:
>
> p07-03.opera-mini.net - - [24/Oct/2006:10:04:18 +0200] "GET  
> /horde/mimp/ HTTP/1.1" 200 595 "-" "Opera/8.01 (J2ME/MIDP; Opera  
> Mini/2.0.3920/1376; de; U; ssr)" "-"

So you're using hordeauth with IMP/MIMP? Can you verify if using IMP  
auth works correctly? If so, sounds like the bug is narrowed to  
hordeauth staying in IMP when it should redirect elsewhere. Otherwise  
you should trace on the PHP side, not the HTTP requests, to find out  
where/why you're being sent wrong.
(Continue reading)

Volker Then | 25 Oct 2006 16:54

Re: mimp-HEAD redirects to IMP after login

Quoting Chuck Hagenbuch <chuck <at> horde.org>:

> Quoting Volker Then <horde <at> volkerthen.com>:
>
>> here's an excerpt from apache log that shows the redirecting:
>>
>> p07-03.opera-mini.net - - [24/Oct/2006:09:59:12 +0200] "GET  
>> /horde/mimp/ HTTP/1.1" 302 38  
>>
"http://myhostname/horde/index.php?url=http%3A%2F%2Fmyhostname%2Fhorde%2Fmimp%2Findex.php"
"Opera/8.01 (J2ME/MIDP; Opera Mini/2.0.3920/1376; de; U; ssr)"  
>> "-"
>> p07-03.opera-mini.net - - [24/Oct/2006:09:59:13 +0200] "GET  
>> /horde/imp/redirect.php?actionID=login&autologin=1&server_key=imap  
>> HTTP/1.1" 302 38  
>>
"http://myhostname/horde/index.php?url=http%3A%2F%2Fmyhostname%2Fhorde%2Fmimp%2Findex.php"
"Opera/8.01 (J2ME/MIDP; Opera Mini/2.0.3920/1376; de; U; ssr)"  
>> "-"
>>
>>
>> Going back and second try gives the correct mimp screen:
>>
>> p07-03.opera-mini.net - - [24/Oct/2006:10:04:18 +0200] "GET  
>> /horde/mimp/ HTTP/1.1" 200 595 "-" "Opera/8.01 (J2ME/MIDP; Opera  
>> Mini/2.0.3920/1376; de; U; ssr)" "-"
>
> So you're using hordeauth with IMP/MIMP? Can you verify if using IMP  
> auth works correctly? If so, sounds like the bug is narrowed to  
> hordeauth staying in IMP when it should redirect elsewhere.  
(Continue reading)

Chuck Hagenbuch | 25 Oct 2006 21:51
Favicon
Gravatar

Re: mimp-HEAD redirects to IMP after login

Quoting Volker Then <horde <at> volkerthen.com>:

> Indeed, if using IMP as horde's authentication backend, there is no  
> problem at all. When I use LDAP authentication instead, the  
> above-mentioned behavior recurs.
>
> Bug?

Yes.

-chuck

-- 
"we are plastered to the windshield of the bus that is time." - Chris
--

-- 
mimp mailing list - Join the hunt: http://horde.org/bounties/#mimp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: mimp-unsubscribe <at> lists.horde.org


Gmane