[dev] Composite Drivers / Authentication Backend / Setup Help
ali mohammed
nefertitian at gmail.com
Thu Jun 22 10:35:01 PDT 2006
Hi,
I am trying to hook up the horde authentication backend to two different
drivers, one for merely authenticating the users (via PAM using hardware
tokens that generate one time passwords) and another one for managing the
list of users. I was able to successfully do that with using the below
configuration:
$conf['auth']['checkip'] = true;
$conf['auth']['checkbrowser'] = true;
$conf['auth']['alternate_login'] = false;
$conf['auth']['redirect_on_logout'] = false;
$conf['auth']['driver'] = 'composite';
$conf['auth']['params']['drivers']['pamauth']['driver'] = 'pam';
$conf['auth']['params']['drivers']['pamauth']['params']['service'] = 'php';
$conf['auth']['params']['drivers']['mysqlauth']['driver']='sql';
$conf['auth']['params']['drivers']['mysqlauth']['params']= array (
'hostspec'=>'localhost',
'phptype'=>'mysql',
'protocol'=>'unix',
'username'=>'xxxx',
'password'=>'xxxx',
'table'=>'CCUser',
'username_field'=>'ccUserName',
'database'=>'dbname');
$conf['auth']['params']['drivers']['mysqlauth']['params']['driverconfig']='horde';
$conf['auth']['params']['admin_driver'] = 'mysqlauth';
Once I successfully log in, I am able to see the list of users pulled from
the mysqlbackend. But how do I disable creating new users or changing
passwords via horde? Horde still gives me the options for creating new users
or changing passwords for existing users. I have a separate third party
application that creates and updates user passwords using that same mysql
backend. I just want horde to list the users and manage the permissions, not
to create new users.
Thanks in advance,
Nefertitian.
--
[nefertitians] If the caffeine doesnt kill us, the horde documentation will.
More information about the dev
mailing list