[horde] new cyrus/sql driver for admin/users

Ilya mail at krel.org
Mon Sep 2 20:43:05 PDT 2002


I will rework SQL driver to take advantage of selectable fileds later. right
now I am trying to decipher what you sent below ;) so far I came up with:

$conf['auth']['driver'] = 'composite';
$conf['auth']['params'] = array();
$conf['auth']['params']['drivers'] = array();
$conf['auth']['params']['drivers']['ip'] = array();
$conf['auth']['params']['drivers']['ip']['driver'] = 'ipbasic';
$conf['auth']['params']['drivers']['ip']['params'] = array();
$conf['auth']['params']['drivers']['ip']['params']['blocks'] =
array('192.168.0.0/16');
$conf['auth']['params']['drivers']['imp'] = array();
$conf['auth']['params']['drivers']['imp']['driver'] = 'application';
$conf['auth']['params']['drivers']['imp']['params'] = array();
$conf['auth']['params']['drivers']['imp']['params']['app'] = 'imp';
$conf['auth']['params']['drivers']['imp']['params']['sql'] = array();
$conf['auth']['params']['drivers']['imp']['params']['sql']['driver'] =>
'sql';
$conf['auth']['params']['loginscreen_switch'] = '_horde_select_loginscreen';
$conf['auth']['params']['drivers']['admin_driver'] = 'cyrsql';
$conf['auth']['params']['drivers']['admin_driver']['params'] = array();
$conf['auth']['params']['drivers']['admin_driver']['params']
.....................params for cyrsql here

i had trouble following all the nested (((())))), probably that time of
night ;)
could you clarify this one pls.

PS will keep on list damn outlook ;)

----- Original Message -----
From: "Chuck Hagenbuch" <chuck at horde.org>
To: "Ilya" <mail at krel.org>
Sent: Monday, September 02, 2002 10:58 PM
Subject: Re: [horde] new cyrus/sql driver for admin/users


> [Please, try and keep discussions on the list in the future - the archives
> benefit everyone]
>
> Quoting Ilya <mail at krel.org>:
>
> > ok Chuck, you won ;) I cant keep up with cvs if I keep my users and
> > passwords in different database from horde, since you dont want to add
> > field options.
>
> No, I completely missed that. That'd be fine, but it should be in the SQL
> driver, not just in cyrsql.
>
> > regarding composite.sql driver - you thought about everything ;). as far
> > as I understand in conf.php it would look like this:
>
> No, you need something like this:
>
> $conf['auth']['driver'] = 'composite';
> $conf['auth']['params'] = array(
>     'drivers' => array('ip' => array('driver' => 'ipbasic',
>                                      'params' => array('blocks' => array
> ('192.168.0.0/16'))),
>                        'imp' => array('driver' => 'application',
>                                       'params' => array('app' => 'imp')),
>                        'sql' => array('driver' => 'sql')),
>     'loginscreen_switch' => '_horde_select_loginscreen',
>     'admin_driver' => 'sql');
>
> -chuck
>
> --
> Charles Hagenbuch, <chuck at horde.org>
> "After a few minutes the most aromatic and nice smelling Italian coffee
>  will come out of the exhaustpipe." - Our stove-top espresso pot
>
>



More information about the horde mailing list