SV: [horde] Again: Login problem
Paul van der Vlis
paul at vandervlis.nl
Mon Aug 26 08:45:44 PDT 2002
Flemming Christensen wrote:
> You have setup the array for prefs .. which will keep the user
preference in a mysql database.
> You also need to setup the array for auth ..
> > This is what you need:
> > $conf['auth']['driver'] = 'sql';
> $conf['auth']['params'] = array();
> $conf['auth']['params']['phptype'] = 'mysql';
> $conf['auth']['params']['hostspec'] = 'localhost';
> $conf['auth']['params']['username'] = 'horde';
> $conf['auth']['params']['password'] = 'secret';
> $conf['auth']['params']['database'] = 'horde';
> $conf['auth']['params']['table'] = 'horde_users';
> > $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'] = 'secret';
> $conf['prefs']['params']['database'] = 'horde';
> $conf['prefs']['params']['table'] = 'horde_prefs';
Many thanks Mike and Flemming, now it works ;-)
But I don't understand why this is not by default in the config-file.
With regards,
Paul van der Vlis
More information about the horde
mailing list