[horde] composite driver
Ilya
mail at krel.org
Tue Sep 3 14:20:44 PDT 2002
uuuhoo ;)
Thanks to you Chuck and Mike, I got it working. My main error was that I didnt
realize that function
function _horde_select_loginscreen() {
return 'imp';
}
has to go into _config_ file, not in driver!!
once that worked, I also found out that in addition to what Mike sent me as
config you need one more parameter there:
$conf['auth']['params']['drivers']['cyrsql']['driver'] = 'cyrsql';
here is my final config with cyrsql and imp:
conf['auth']['driver'] = 'composite';
$conf['auth']['params'] = array();
$conf['auth']['params']['drivers'] = array();
$conf['auth']['params']['app'] = 'imp';
$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']['cyrsql'] = array();
$conf['auth']['params']['drivers']['cyrsql']['driver'] = 'cyrsql';
$conf['auth']['params']['drivers']['cyrsql']['params'] = array();
$conf['auth']['params']['drivers']['cyrsql']['params']['phptype'] = 'mysql';
$conf['auth']['params']['drivers']['cyrsql']['params']['hostspec'] = ''; //sql hostname
$conf['auth']['params']['drivers']['cyrsql']['params']['protocol'] = 'tcp';
$conf['auth']['params']['drivers']['cyrsql']['params']['username'] = ''; //sql username
$conf['auth']['params']['drivers']['cyrsql']['params']['password'] = ''; //sql password
$conf['auth']['params']['drivers']['cyrsql']['params']['database'] = ''; //sql database
$conf['auth']['params']['drivers']['cyrsql']['params']['cyradmin'] = ''; //imap admin username
$conf['auth']['params']['drivers']['cyrsql']['params']['cyrpass'] = ''; //imap admin password
$conf['auth']['params']['drivers']['cyrsql']['params']['imaps'] =
'{localhost:993/imap/ssl/novalidate-cert}';//imap server
$conf['auth']['params']['admin_driver'] = 'cyrsql';
$conf['auth']['params']['loginscreen_switch'] = '_horde_select_loginscreen';
$conf['auth']['params']['drivers']['cyrsql']['loginscreen_switch'] = '_horde_select_loginscreen';
function _horde_select_loginscreen() {
return 'imp';
}
More information about the horde
mailing list