[horde] horde authentication
Tony Earnshaw
tonni at billy.demon.nl
Sat Jan 4 08:45:08 PST 2003
lør, 2003-01-04 kl. 10:55 skrev René Lund Jensen:
> $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';
> 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'...
Hmmm ... looking at everything again, I see that my CVS
horde/config/conf.php has neither of the above :-/ So, perhaps we're all
taking about different Horde versions. I got off "stable" onto CVS
pretty soon after starting Horde, a couple of months ago.
My $conf['prefs']['driver'] = 'sql'
And the rest of the blurb says:
$conf['sql']['phptype'] = 'mysql';
$conf['sql']['protocol'] = 'tcp';
$conf['sql']['port'] = 3306;
$conf['sql']['hostspec'] = 'localhost';
$conf['sql']['username'] = 'horde';
$conf['sql']['password'] = 'blahblahblah';
$conf['sql']['database'] = 'horde';
Well, Cyko, you've got a lot to go on, here.
Best,
Tony
--
> Ren Jensen
Som var næsten for overdrevet høflig til at være danske, synes jeg.
> 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.
> >
--
Tony Earnshaw
When all's said and done ...
there's nothing left to say or do.
e-post: tonni at billy.demon.nl
www: http://www.billy.demon.nl
More information about the horde
mailing list