[horde] HORDE AUTHENTICATION

s-beutel at gmx.de s-beutel at gmx.de
Sun Feb 16 01:57:43 PST 2003


> This is what I have in my horde.php
> 

are you really sure about the version you use? Not CVS/HEAD/3.0? In 2.2.1, I
can't find this:

> /**
>  ** Horde Database Settings
>  **/
> $conf['sql']['phptype'] = 'mysql';
> $conf['sql']['protocol'] = 'unix';
> $conf['sql']['hostspec'] = 'localhost';
> $conf['sql']['username'] = 'horde';
> $conf['sql']['password'] = 'horde';
> $conf['sql']['database'] = 'horde';
> $conf['sql']['table'] = 'horde_users';
> 
> /**
>  ** Horde Authentication
>  **/
> 

This is where the problem is:

> $conf['auth']['driver'] = 'sql';
> $conf['auth']['params'] = array();
> $conf['auth']['admins'] = array('admin');
> 
> 

It needs to be something like

$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'] = '*****';
$conf['auth']['params']['database'] = 'horde';
$conf['auth']['params']['table'] = 'horde_users';

The admin function is not in 2.x versions. Again: sure about the version?

> What Im I missing?
> 
> after I put admin/admin in the horde login page I get:
>  
> A fatal error has occurred:
> Required 'phptype' not specified in authentication configuration.
> [line 96 of /usr/local/apache2/htdocs/horde/lib/Auth/sql.php]

Sebastian



More information about the horde mailing list