[horde] horde authentication

René Lund Jensen lundeman at tbkol.dk
Sat Jan 4 01:55:19 PST 2003


As the script says, you need to supply the info for the auth driver.
(You have set up the info for the prefs driver alright.)

So you need something like this:
$conf['auth']['params']['phptype'] = 'mysql';
$conf['auth']['params']['hostspec'] = 'localhost';
$conf['auth']['params']['username'] = 'horde';
$conf['auth']['params']['password'] = 'blah';
$conf['auth']['params']['database'] = 'horde';
$conf['auth']['params']['table'] = 'horde_auth';

Please notice, I changed 'prefs' to 'auth'...

René Jensen
lundeman at tbkol.dk

cyko wrote:
> I'm receiving the following error when trying to log into Horde:
> A fatal error has occurred:
> Required 'phptype' not specified in authentication configuration.
> [line 89 of /usr/local/www/mail/horde/lib/Auth/sql.php]
> Details have been logged for the administrator.
> my horde.conf file appears as follows:
> $conf['auth']['driver'] = 'sql';
> $conf['prefs']['driver'] = 'sql';
> $conf['prefs']['params']['phptype'] = 'mysql';
> $conf['prefs']['params']['hostspec'] = 'localhost';
> $conf['prefs']['params']['username'] = 'horde';
> $conf['prefs']['params']['password'] = 'blah';
> $conf['prefs']['params']['database'] = 'horde';
> $conf['prefs']['params']['table'] = 'horde_prefs';
> The database was setup properly using .sql file in scripts/db and I can 
> connect fine to the database through console.
> Any assistance would be appreciate.  I'd be more than happy to supply 
> more information if I've seemed to leave anything important out.
> Thank you.
> 



More information about the horde mailing list