[horde] MySQL Auth problem...
Andrew Coutermarsh
acoutermarsh at gmail.com
Sat Jan 29 22:43:19 PST 2005
Okay, this has been driving me crazy for a majority of the day, so I'm
coming to you guys for help.
I'm running Mandrake 10.1 Community, with PHP 4.3.8 on Apache2.0.50.
I used urpmi to install horde and IMP, which are 2.2.7 and 3.2.5,
respectively.
I downloaded the SQL install scripts from the CVS tree so I could
easily create the horde_users and other tables, and I created the test
admin user with a default md5 password in horde.horde_users, just like
I was supposed to.
Here's my configuration from horde.php:
----------
$conf['auth']['driver'] = 'sql';
$conf['prefs']['driver'] = 'sql';
$conf['prefs']['params'] = array();
$conf['prefs']['params']['phptype'] = 'mysql';
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['username'] = 'horde';
$conf['prefs']['params']['password'] = '<mypassword, plain text>';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['table'] = 'horde_prefs';
$conf['auth']['params']['phptype'] = 'mysql';
$conf['auth']['params']['hostspec'] = 'localhost';
$conf['auth']['params']['username'] = 'horde';
$conf['auth']['params']['password'] = '<mypassword, plain text>';
$conf['auth']['params']['database'] = 'horde';
$conf['auth']['params']['table'] = 'horde_prefs';
----------
Those are, I believe, all of the important values. Right now, I do
not have IMP authentication my logins because I'd like to get this
method working before I try anything else.
So everything looks good, doesn't it? I know that the database
connection is working properly, because when I change the password in
horde.php, it yells at me. But when I enter the admin username and
password, it drops me back at the login screen and enters 'HORDE
[error] [horde] FAILED LOGIN for admin [68.63.135.92] to Horde [on
line 48 of "/var/www/html/horde/login.php"]' into the Horde log in
/tmp.
I am completely lost on this. I've looked at practically every file
in the horde directory, trying to see if there's something overriding
these horde.php settings, but I can't imagine there would be. Is
there something I'm missing here?
--
Andrew Coutermarsh
acoutermarsh at gmail.com
More information about the horde
mailing list