Horde Login Error

Aaron Carlson acarlson@once.com
Thu, 9 Aug 2001 11:27:35 -0700


I am having a problem logging into Horde.  I am using imap as authentication
(to an exchange IMAP server) and on the exchange end the authentication is
working successfully.  What happens is I get an error window in the browser
saying 'http://myurl/horde/login.php' "Connection closed by remote server".
?  Here is what my horde.php looks like:

$conf['auth']['driver'] = 'imap';

$conf['auth']['params'] = array();
$conf['auth']['params']['server'] = 'exchange.server';
$conf['auth']['params']['protocol'] = 'imap';
$conf['auth']['params']['port'] = 143;

...and the user prefs driver...

$conf['prefs']['driver'] = 'sql';

$conf['prefs']['params'] = array();
$conf['prefs']['params']['phptype'] = 'mysql';
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['username'] = '********';
$conf['prefs']['params']['password'] = '********';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['table'] = 'horde_prefs';

...and cached syle sheets is off...

$conf['css']['cached'] = false;

It seems like it might be trying to redirect to another page unsuccessfully,
or that Horde is just dying.  Any suggestions?  I had imap auth for horde
login working on a different server last week, but now I am having these
problems.  I am using the latest CVS of horde, imp, etc. as of this email.  

On another note, I added the turba address book icon to the IMP menu and
when a user logs into imp (and not horde) and then attempts to do an 'expand
names', or access the address book they must login again.  Is there a way to
do the authentication/login once?  

-Aaron


>From chuck@horde.org Date: Thu,  9 Aug 2001 15:46:18 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 75139 invoked from network); 9 Aug 2001 19:48:14 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.198.7)
  by horde.org with SMTP; 9 Aug 2001 19:48:14 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 1D87A39F6; Thu,  9 Aug 2001 15:46:19 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@localhost by marina.horde.org with HTTP;
	Thu,  9 Aug 2001 15:46:18 -0400
Message-ID: <997386378.3b72e88aee49a@marina.horde.org>
Date: Thu,  9 Aug 2001 15:46:18 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
References: <C9B6F26F1AA6D411853100508BDE65A9C27D2E@EXCHANGE>
In-Reply-To: <C9B6F26F1AA6D411853100508BDE65A9C27D2E@EXCHANGE>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [dev] Horde Login Error

Quoting Aaron Carlson <acarlson@once.com>:

> I am having a problem logging into Horde.  I am using imap as authentication
> (to an exchange IMAP server) and on the exchange end the authentication is
> working successfully.  What happens is I get an error window in the browser
> saying 'http://myurl/horde/login.php' "Connection closed by remote server".

Is that message coming from the browser? Apache? PHP?

> ?  Here is what my horde.php looks like:

That all looks fine.

> It seems like it might be trying to redirect to another page unsuccessfully,
> or that Horde is just dying.  Any suggestions?  I had imap auth for horde
> login working on a different server last week, but now I am having these
> problems.  I am using the latest CVS of horde, imp, etc. as of this email.  

What's different between the two machines?

> On another note, I added the turba address book icon to the IMP menu and
> when a user logs into imp (and not horde) and then attempts to do an 'expand
> names', or access the address book they must login again.  Is there a way to
> do the authentication/login once?  

Yup. Set imp as the horde auth handler in config/registry.php. See the archives 
for more details.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.