Re: [imp] IMP Login Issues With Internet Explorer

2015-01-20 Thread Adam Tauno Williams
On Tue, 2015-01-20 at 14:31 -0500, Adam Tauno Williams wrote: 
 On Mon, 2015-01-19 at 15:40 -0500, Adam Tauno Williams wrote: 
  On Mon, 2015-01-19 at 12:17 -0600, Andy Dorman wrote: 
   On 01/19/2015 11:12 AM, Adam Tauno Williams wrote:
Horde 5.2.3 / IMP 6.2.4
Firefox 31.20.0
Internet Explorer 11.0.13
Logging into my instance with Firefox [or Epiphany] works without
incident.
Logging into Internet Explorer fails, it just says authentication fails
and goes back to the login page.
Anyone else seen this?  There appears to be no errors, warnings, etc...
   Try clearing all your cookies for the login domain.  We will see this 
   often in Chrome  FF when testing subdomains like beta.mydomain.com and 
   then trying to login at mydomain.com.
  Done, it didn't effect the problem.  And the same exact issue occurs in
  compatibility mode.
  The login is to a fully qualified hostname, but a domain/alias.
 Does a POST to /login.php with a HTTP/302 response with a location
 header of
 http://horde_p.mormail.com/imp/dynamic.php?page=mailboxu=195593741754bea9e98dbd4;
  
indicate that authentication was successful? 
 Then the GET request follows to
 GET /imp/dynamic.php?page=mailboxu=195593741754bea9e98dbd4 ang gets a
 HTTP/302 with a Location header back to the login.php page.  So I just
 got kicked out?
 Notably the GET request to /imp/dynamic does not contain a Cookie
 header.
 The Set-Cookie in the original HTTP/302 [in response to login.php] looks
 like -
 Set-Cookie: Horde=3k1r7gt07.8rn9e2; path=/;
 domain=horde_p.example.com; HttpOnly
 Set-Cookie: horde_secret_key=3k1r7g.em88rn9e2; path=/;
 domain=horde_p.example.com; httponly
 Set-Cookie: default_horde_view=deleted; expires=Thu, 01-Jan-1970
 00:00:01 GMT; Max-Age=0; path=/; domain=horde_p.example.com

It would appear the issue is somehow related to cookies and session
persistence.  Setting $conf['session']['use_only_cookies'] = false;
allows login via Internet Explorer.

-- 
Adam Tauno Williams mailto:awill...@whitemice.org GPG D95ED383
OpenGroupware Developer http://www.opengroupware.us/

-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] IMP Login Issues With Internet Explorer

2015-01-20 Thread Michael M Slusarz

Quoting Adam Tauno Williams awill...@opengroupware.us:


Does a POST to /login.php with a HTTP/302 response with a location
header of
http://horde_p.mormail.com/imp/dynamic.php?page=mailboxu=195593741754bea9e98dbd4;
indicate that authentication was successful?


Yes.


Then the GET request follows to
GET /imp/dynamic.php?page=mailboxu=195593741754bea9e98dbd4 ang gets a
HTTP/302 with a Location header back to the login.php page.  So I just
got kicked out?
Notably the GET request to /imp/dynamic does not contain a Cookie
header.
The Set-Cookie in the original HTTP/302 [in response to login.php] looks
like -
Set-Cookie: Horde=3k1r7gt07.8rn9e2; path=/;
domain=horde_p.example.com; HttpOnly
Set-Cookie: horde_secret_key=3k1r7g.em88rn9e2; path=/;
domain=horde_p.example.com; httponly
Set-Cookie: default_horde_view=deleted; expires=Thu, 01-Jan-1970
00:00:01 GMT; Max-Age=0; path=/; domain=horde_p.example.com


It would appear the issue is somehow related to cookies and session
persistence.  Setting $conf['session']['use_only_cookies'] = false;
allows login via Internet Explorer.


That does sound like a cookie issue.  But PHP handles setting cookies  
on the browser-side, so that wouldn't be a Horde issue (and, as  
mentioned before, I can't reproduce using cookies with IE 11).


michael

___
Michael Slusarz [slus...@horde.org]

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] IMP Login Issues With Internet Explorer

2015-01-20 Thread Adam Tauno Williams
On Mon, 2015-01-19 at 15:40 -0500, Adam Tauno Williams wrote: 
 On Mon, 2015-01-19 at 12:17 -0600, Andy Dorman wrote: 
  On 01/19/2015 11:12 AM, Adam Tauno Williams wrote:
   Horde 5.2.3 / IMP 6.2.4
   Firefox 31.20.0
   Internet Explorer 11.0.13
   Logging into my instance with Firefox [or Epiphany] works without
   incident.
   Logging into Internet Explorer fails, it just says authentication fails
   and goes back to the login page.
   Anyone else seen this?  There appears to be no errors, warnings, etc...
  Try clearing all your cookies for the login domain.  We will see this 
  often in Chrome  FF when testing subdomains like beta.mydomain.com and 
  then trying to login at mydomain.com.
 Done, it didn't effect the problem.  And the same exact issue occurs in
 compatibility mode.
 The login is to a fully qualified hostname, but a domain/alias.

Does a POST to /login.php with a HTTP/302 response with a location
header of
http://horde_p.mormail.com/imp/dynamic.php?page=mailboxu=195593741754bea9e98dbd4;
 indicate that authentication was successful?

Then the GET request follows to
GET /imp/dynamic.php?page=mailboxu=195593741754bea9e98dbd4 ang gets a
HTTP/302 with a Location header back to the login.php page.  So I just
got kicked out?

Notably the GET request to /imp/dynamic does not contain a Cookie
header.

The Set-Cookie in the original HTTP/302 [in response to login.php] looks
like -

Set-Cookie: Horde=3k1r7gt07.8rn9e2; path=/;
domain=horde_p.example.com; HttpOnly
Set-Cookie: horde_secret_key=3k1r7g.em88rn9e2; path=/;
domain=horde_p.example.com; httponly
Set-Cookie: default_horde_view=deleted; expires=Thu, 01-Jan-1970
00:00:01 GMT; Max-Age=0; path=/; domain=horde_p.example.com

-- 
Adam Tauno Williams mailto:awill...@whitemice.org GPG D95ED383
OpenGroupware Developer http://www.opengroupware.us/

-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] IMP Login Issues With Internet Explorer

2015-01-19 Thread Michael M Slusarz

Quoting Adam Tauno Williams awill...@opengroupware.us:


Horde 5.2.3 / IMP 6.2.4
Firefox 31.20.0
Internet Explorer 11.0.13

Logging into my instance with Firefox [or Epiphany] works without
incident.

Logging into Internet Explorer fails, it just says authentication fails
and goes back to the login page.

Anyone else seen this?  There appears to be no errors, warnings, etc...


I can't reproduce.

The only issues I have ever heard regarding IE 11 is with the ckeditor  
component.  But this wouldn't affect logins since it is not loaded on  
the mailbox page.


michael

___
Michael Slusarz [slus...@horde.org]

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


[imp] IMP Login Issues With Internet Explorer

2015-01-19 Thread Adam Tauno Williams
Horde 5.2.3 / IMP 6.2.4
Firefox 31.20.0
Internet Explorer 11.0.13

Logging into my instance with Firefox [or Epiphany] works without
incident.

Logging into Internet Explorer fails, it just says authentication fails
and goes back to the login page.

Anyone else seen this?  There appears to be no errors, warnings, etc...

-- 
Adam Tauno Williams mailto:awill...@whitemice.org GPG D95ED383
OpenGroupware Developer http://www.opengroupware.us/

-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] IMP Login Issues With Internet Explorer

2015-01-19 Thread Rick Romero

 Quoting Adam Tauno Williams awill...@opengroupware.us:


Horde 5.2.3 / IMP 6.2.4
Firefox 31.20.0
Internet Explorer 11.0.13

Logging into my instance with Firefox [or Epiphany] works without
incident.

Logging into Internet Explorer fails, it just says authentication fails
and goes back to the login page.

Anyone else seen this?  There appears to be no errors, warnings, etc...


Not a real fix, but I had problems with both Horde logins and my own simple
Javascript login box with IE11, so I've forced version downgrades on my
home page, and I also have in my notes for Horde upgrades:

fix IE 11 issues:
edit /usr/share/php/Horde/PageOutput.php  
     public function header(array $opts = array())
    {
        global $injector, $language, $registry, $session;
        /* IE11 */
        if($GLOBALS['browser']-isBrowser('msie') 
           $GLOBALS['browser']-getMajor() == 11){
          $this-addMetaTag('X-UA-Compatible','IE=EmulateIE10',true);
        }

        $view = new Horde_View(array(
--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Re: [imp] IMP Login Issues With Internet Explorer

2015-01-19 Thread Andy Dorman

On 01/19/2015 11:12 AM, Adam Tauno Williams wrote:

Horde 5.2.3 / IMP 6.2.4
Firefox 31.20.0
Internet Explorer 11.0.13

Logging into my instance with Firefox [or Epiphany] works without
incident.

Logging into Internet Explorer fails, it just says authentication fails
and goes back to the login page.

Anyone else seen this?  There appears to be no errors, warnings, etc...



Try clearing all your cookies for the login domain.  We will see this 
often in Chrome  FF when testing subdomains like beta.mydomain.com and 
then trying to login at mydomain.com.


--
Andy Dorman

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] IMP Login Issues With Internet Explorer

2015-01-19 Thread Adam Tauno Williams
On Mon, 2015-01-19 at 12:17 -0600, Andy Dorman wrote: 
 On 01/19/2015 11:12 AM, Adam Tauno Williams wrote:
  Horde 5.2.3 / IMP 6.2.4
  Firefox 31.20.0
  Internet Explorer 11.0.13
  Logging into my instance with Firefox [or Epiphany] works without
  incident.
  Logging into Internet Explorer fails, it just says authentication fails
  and goes back to the login page.
  Anyone else seen this?  There appears to be no errors, warnings, etc...
 Try clearing all your cookies for the login domain.  We will see this 
 often in Chrome  FF when testing subdomains like beta.mydomain.com and 
 then trying to login at mydomain.com.

Done, it didn't effect the problem.  And the same exact issue occurs in
compatibility mode.

The login is to a fully qualified hostname, but a domain/alias.

192.168.1.168 - - [19/Jan/2015:15:35:20 -0500] POST /login.php
HTTP/1.1 302 20 http://horde_p.example.com/login.php; Mozilla/5.0
(Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko
192.168.1.168 - - [19/Jan/2015:15:35:21 -0500]
GET /imp/dynamic.php?page=mailbox HTTP/1.1 302 -
http://horde_p.example.com/login.php; Mozilla/5.0 (Windows NT 6.1;
Trident/7.0; rv:11.0) like Gecko
192.168.1.168 - - [19/Jan/2015:15:35:21 -0500] GET /login.php?url=http%
3A%2F%2Fhorde_p.example.com%2Fimp%2Fdynamic.php%3Fpage%3Dmailbox%26u%
3D26746202854bd6a894b85ehorde_logout_token=ZMtpyP3n44_Daum1IwX_Qw1
HTTP/1.1 200 2808 http://horde_p.example.com/login.php; Mozilla/5.0
(Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko


-- 
Adam Tauno Williams mailto:awill...@whitemice.org GPG D95ED383
Systems Administrator, Python Developer, LPI / NCLA

-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Re: [imp] IMP Login Issues With Internet Explorer

2015-01-19 Thread Adam Tauno Williams
On Mon, 2015-01-19 at 12:17 -0600, Andy Dorman wrote: 
 On 01/19/2015 11:12 AM, Adam Tauno Williams wrote:
  Horde 5.2.3 / IMP 6.2.4
  Firefox 31.20.0
  Internet Explorer 11.0.13
  Logging into my instance with Firefox [or Epiphany] works without
  incident.
  Logging into Internet Explorer fails, it just says authentication fails
  and goes back to the login page.
  Anyone else seen this?  There appears to be no errors, warnings, etc...
 Try clearing all your cookies for the login domain.  We will see this 
 often in Chrome  FF when testing subdomains like beta.mydomain.com and 
 then trying to login at mydomain.com.

Done, it didn't effect the problem.  And the same exact issue occurs in
compatibility mode.

The login is to a fully qualified hostname, but a domain/alias.

192.168.1.168 - - [19/Jan/2015:15:35:20 -0500] POST /login.php
HTTP/1.1 302 20 http://horde_p.example.com/login.php; Mozilla/5.0
(Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko
192.168.1.168 - - [19/Jan/2015:15:35:21 -0500]
GET /imp/dynamic.php?page=mailbox HTTP/1.1 302 -
http://horde_p.example.com/login.php; Mozilla/5.0 (Windows NT 6.1;
Trident/7.0; rv:11.0) like Gecko
192.168.1.168 - - [19/Jan/2015:15:35:21 -0500] GET /login.php?url=http%
3A%2F%2Fhorde_p.example.com%2Fimp%2Fdynamic.php%3Fpage%3Dmailbox%26u%
3D26746202854bd6a894b85ehorde_logout_token=ZMtpyP3n44_Daum1IwX_Qw1
HTTP/1.1 200 2808 http://horde_p.example.com/login.php; Mozilla/5.0
(Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko



-- 
Adam Tauno Williams mailto:awill...@whitemice.org GPG D95ED383
OpenGroupware Developer http://www.opengroupware.us/

-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org