[imp] Login (horde auth = 'imp') always returns "Login failed for some reason..."

James Nikolich jnikolic@compeuphoria.com
Mon, 29 Oct 2001 10:30:48 -0500 (EST)


On Sun, 28 Oct 2001, Chuck Hagenbuch wrote:

> Quoting James Nikolich <jnikolic@compeuphoria.com>:
> 
> > > > 24.141.87.20 - - [28/Oct/2001:01:04:39 -0500] "GET 
> > > > /horde/imp/redirect.php?=473888c46d493d666443b43b1fd71b18 HTTP/1.1" 302 5
> > 
> > > > "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010917"
> > > > 24.141.87.20 - - [28/Oct/2001:01:04:39 -0500] "GET 
> > > 
> > > These are rather strange; do you by chance have the session name set to ''
> > in
> > > horde/config/horde.php?
> > 
> > $conf['session_name'] = 'Horde';
> 
> Does the session test in test.php work? (does the counter increment)

When I bring up an Exploder or Mozilla window and point to 
"www.compeuphoria.com/horde/test.php", I see the session-counter starts 
off at 1.  When I refresh the browser, it increments to 2, 3 4, etc.  When 
I click on "unregister" and then "Go Back", the counter resets to 1.


Incidentally, Jan;  I tried setting my 'cookie_path' to '/' -- same 
results.

This all seems very bizarre to me, especially since when I switch back to 
IMP 2.2 and Horde 1.2.5, things work properly.  I'm willing to grab the 
PHP manpages and start tracing through the login / auth code, but could 
you give me a bit of a head-start as to where in the codebase I should be 
looking?  e.g. Is it likely to be Horde that's failing, or IMP?



> > No error messages; just no output.  I've used both of the following 
> > configs:
> 
> Those both look fine. You'll have to trace the code, then, if nothing is
> erroring out but the logs still aren't created... It is possible that you're not
> triggering any log events, of course...

I was hoping that authentication attempts would be a log event, and that 
I'd see clues there as to what may be happening.  Oh well, that's what you 
get for running dev code!...