[#4799] hordeauth not working when imp invoked directly
Summary hordeauth not working when imp invoked directly
Queue IMP
Queue Version HEAD
Type Bug
State Resolved
Priority 2. Medium
Owners Michael Slusarz <slusarz (at) horde (dot) org>
Requester liamr (at) deathstar (dot) org
Created 12/18/2006 (629 days ago)
Due
Updated 03/01/2007 (556 days ago)
Assigned 02/16/2007 (569 days ago)
Resolved 03/01/2007 (556 days ago)
Attachments
Milestone
Patch No

History
03/01/2007 liamr (at) deathstar (dot) org Comment #6 Reply to this comment
My CVS installation isn't working quite right... but I believe this 
may be resolved.
03/01/2007 Chuck Hagenbuch Comment #5
State ⇒ Resolved
Reply to this comment
Going to assume this is fixed for now given lack of feedback.
02/16/2007 Michael Slusarz Deleted Attachment: cosign.php
 
02/16/2007 Michael Slusarz Comment #4
Priority ⇒ 2. Medium
State ⇒ Feedback
Reply to this comment
01/03/2007 Michael Slusarz Comment #3 Reply to this comment
And I get this notice:
Notice: Undefined variable: lang_url in
/home/jan/headhorde/imp/login.php on line 391
This much has been fixed.
12/27/2006 Jan Schneider Comment #2
State ⇒ Assigned
Assigned to Michael Slusarz
Reply to this comment
Confirmed.
Additionally I noticed that the user gets the IMP login if he points 
to /horde/imp/ even though he's not authenticated at IMP yet.
And I get this notice:
Notice: Undefined variable: lang_url in 
/home/jan/headhorde/imp/login.php on line 391
12/18/2006 liamr (at) deathstar (dot) org Comment #1
State ⇒ Unconfirmed
Type ⇒ Bug
Priority ⇒ 1. Low
New Attachment: cosign.php
Summary ⇒ hordeauth not working when imp invoked directly
Queue ⇒ IMP
Reply to this comment
We use a modified version of the Horde "auto" authenticator that sets 
the horde user name to the the value of $_SERVER[ 'REMOTE_USER' ] 
(which is set by our SSO).

In imp/config/server.php, we've configured hordeauth to be true (we've 
also tried 'full').

$servers['umce'] = array(
     'name' => 'umce IMAP Service',
     'server' => 'localhost',
     'hordeauth' => true,
     'protocol' => 'imap/notls',
     'port' => 8143,
     'maildomain' => 'umich.edu',
     'smtphost' => 'smtp.mail.umich.edu',
     'smtpport' => 25,
     'realm' => '',
     'preferred' => array( 'dev.mail.umich.edu' ),
     'admin' => array(
         'params' => array(
             'login' => 'cyrus',
             'password' => 'cyrus_pass',
             'userhierarchy' => 'user/',
             'protocol' => 'imap/notls',
             'hostspec' => 'localhost',
             'port' => 8143
         )
     ),
     'quota' => array(
         'driver' => 'cyrus',
         'params' => array(),
     ),
     'acl' => array(
         'driver' => 'rfc2086',
     ),
);

In horde/config/prefs.php, we've set initial_application to "imp" by default.

Users going to https://dev.mail.umich.edu/horde/ are presented with 
their inbox. As expected, we see this redirect in the location bar...

https://dev.mail.umich.edu/horde/imp/redirect.php?actionID=login&autologin=1&server_key=umce

Users going to https://dev.mail.umich.edu/horde/imp/  are presented 
with the "Welcome to Mail" login screen.

Traditionally (Horde 3.1.3 / IMP 4.1.3,  Horde 3.0.12 / IMP 4.0.5), 
both /horde/ and /horde/imp/ will get passed through the transparent 
login process and end up in the user's email box.