[horde] hordeauth not working with imp
amy.rich at tufts.edu
amy.rich at tufts.edu
Mon Mar 14 13:17:30 PST 2005
I'm using apache 1.3.31, php 4.3.10, horde 3.0.2, and imp 4.0.1. I have horde
configured to authenticate using LDAP, and that appears to be working. I can
see a successful login in the log file, and I can muck around with horde
options and admin settings.
I have imp set to use hordeauth so that I don't need to log into horde and
then imp as well. This doesn't appear to be working, though. What happens is
that the horde login is successful, but then the imp login goes into an
infinite loop.
The pertinent bits of config files are:
horde/config/conf.php
$conf['auth']['checkip'] = true;
$conf['auth']['params']['version'] = '3';
$conf['auth']['params']['uid'] = 'uid';
$conf['auth']['params']['objectclass'] = array('person');
$conf['auth']['params']['filter_type'] = 'objectclass';
$conf['auth']['driver'] = 'ldap';
horde/imp/config/servers.php
$servers[''] = array(
'name' => 'IMAP Server',
'hordeauth' => true,
'protocol' => 'imap/ssl/novalidate-cert',
'port' => '993',
'folders' => '',
'namespace' => '',
'maildomain' => '',
'smtpport' => '25',
'realm' => '',
'preferred' => '',
'dotfiles' => false,
'hierarchies' => array(),
'quota' => array (
'driver' => 'sims',
'params' => array ()
)
);
I've added a print statement to horde/lib/Horde/Registry.php because that's
where I had tracked the loop down to so far. It's being called repeatedly
from horde/imp/login.php. And the log file entries are:
Mar 14 16:10:34 webmail HORDE[16116]: [ID 800047 local4.notice] [horde] loadPrefs [on line 832 of "/usr/local/apache/html/horde/lib/Horde/Registry.php"]
Mar 14 16:10:35 webmail HORDE[16116]: [ID 800047 local4.debug] [horde] SQL Query by Prefs_sql::retrieve(): SELECT pref_scope, pref_name, pref_value FROM horde_prefs WHERE pref_uid = 'amyrich' AND (pref_scope = 'horde' OR pref_scope = 'horde') ORDER BY pref_scope [on line 147 of "/usr/local/apache/html/horde/lib/Horde/Prefs/sql.php"]
Mar 14 16:10:35 webmail HORDE[16116]: [ID 800047 local4.info] [horde] Login success for amyrich [client IP] to Horde [on line 76 of "/usr/local/apache/html/horde/login.php"]
Mar 14 16:10:35 webmail HORDE[16116]: [ID 800047 local4.notice] [] loadPrefs [on line 832 of "/usr/local/apache/html/horde/lib/Horde/Registry.php"]
Mar 14 16:10:36 webmail HORDE[16119]: [ID 800047 local4.notice] [] loadPrefs [on line 832 of "/usr/local/apache/html/horde/lib/Horde/Registry.php"]
Mar 14 16:10:36 webmail HORDE[16119]: [ID 800047 local4.notice] [horde] loadPrefs [on line 832 of "/usr/local/apache/html/horde/lib/Horde/Registry.php"]
Mar 14 16:10:37 webmail HORDE[16119]: [ID 800047 local4.debug] [horde] SQL Query by Prefs_sql::retrieve(): SELECT pref_scope, pref_name, pref_value FROM horde_prefs WHERE pref_uid = 'amyrich' AND (pref_scope = 'imp' OR pref_scope = 'horde') ORDER BY pref_scope [on line 147 of "/usr/local/apache/html/horde/lib/Horde/Prefs/sql.php"]
Mar 14 16:10:37 webmail HORDE[16116]: [ID 800047 local4.notice] [] loadPrefs [on line 832 of "/usr/local/apache/html/horde/lib/Horde/Registry.php"]
Mar 14 16:10:37 webmail HORDE[16116]: [ID 800047 local4.info] [imp] client IP [on line 31 of "/usr/local/apache/html/horde/imp/login.php"]
Mar 14 16:10:38 webmail HORDE[16119]: [ID 800047 local4.notice] [] loadPrefs [on line 832 of "/usr/local/apache/html/horde/lib/Horde/Registry.php"]
It keeps going on like this till I kill stop trying to load the page in the
browser.
Anyone have any clue why it's going into a loop and why hordeauth appears to
not be working correctly?
More information about the horde
mailing list