[horde] Can't seem to Login

s-beutel at gmx.de s-beutel at gmx.de
Tue Nov 5 14:05:51 PST 2002


> Here is my horde.php for the authentication portion:
> 
> // This is an example configuration for a MySQL preference backend.
> // The SQL script to setup the preference database is placed in
> // horde/scripts/db/prefs.sql.
> $conf['prefs']['params']['phptype'] = 'mysql';
> $conf['prefs']['params']['hostspec'] = 'localhost';
> $conf['prefs']['params']['username'] = 'horde';
> // $conf['prefs']['params']['password'] = '*****';
> $conf['prefs']['params']['password'] = 'milkyway';
> $conf['prefs']['params']['database'] = 'horde';
> $conf['prefs']['params']['table'] = 'horde_prefs';
> 

That's what I thought. It's correct for the [prefs] section. For the [auth]
section, you need a similar array (copy it), but have to replace all
['prefs'] in the names with ['auth']; so the section should look like

$conf['auth']['params']['phptype'] = 'mysql';
$conf['auth']['params']['hostspec'] = 'localhost';
$conf['auth']['params']['username'] = 'horde';
$conf['auth']['params']['password'] = '*****';
$conf['auth']['params']['password'] = 'milkyway';
$conf['auth']['params']['database'] = 'horde';
$conf['auth']['params']['table'] = 'horde_prefs';

Don't forget to set the appropriate driver some lines above.

Btw., why did you comment the password line? This will certainly not work.
The user 'horde', pw 'horde' (or however you changed it) is the way how horde
connects to mysql (Clearly: here, horde is a mysql user, not an entry in the
mysql horde users table). Commenting the pw line will make that connection
impossible.

Hope this helps.

Sebastian



More information about the horde mailing list