[dev] Problem with imp authentication...

Jim King jrk at mipl.jpl.nasa.gov
Tue Aug 24 09:49:35 PDT 2004


I'm running into a weird problem when using application authentication 
(using imp) in horde.

Using the dev branch 8-19-04 snapshots. When I have:
   $conf['auth']['driver'] = 'auto';
   $conf['auth']['params'] = array('username' => 'Administrator');


everything works fine. As soon as I set it to:
   $conf['auth']['driver'] = 'application';
   $conf['auth']['params']['app'] = 'imp';

I get weird things happen. I've narrowed it down to the redirect data 
not working any more... it loses the machine name when it's building 
URLs. So when it should be going to:
   http://<machine name>/horde-new/imp/login.php

it instead tries to go to:
   http:///horde-new/imp/login.php

Note the 3rd slash... it's like whatever variable held the machine name 
is just blank. But if the driver is set to 'auto' it builds urls fine.

I also get this in the log:

Aug 22 21:02:08 HORDE [emergency] [] horde-new/imp is not configured in 
the Horde Registry. [on line 67 of 
"/usr/local/lib/php/Horde/Auth/application.php"]



Any thoughts as to where to look?


   jim




More information about the dev mailing list