[cvs] [Wiki] changed: MIMPHowTo

Wiki Guest wiki at wiki.horde.org
Sat May 14 02:45:49 PDT 2005


guest [81.19.78.190]  Sat, 14 May 2005 02:45:48 -0700

Modified page: http://wiki.horde.org/display.php?page=MIMPHowTo
New Revision:  2.0

@@ -4,14 +4,25 @@
 
 To use the composite driver select it from the dropdown list in the authentication tab of the configuration interface or change {{$conf['auth']['driver']}} to {{'composite'}} in {{horde/config/conf.php}}.
 
 In {{horde/config/conf.php}}, insert the following code:
+(Note: the 'horde_sql' is for administrative tasks such as user manipulation as defined in 'admin_driver'.  If you use other authentication mechanisms, please change the 'horde_sql' entry appropriately.)
 <code type="php">
 $conf['auth']['params']['drivers'] = array(
     'imp' => array('driver' => 'application',
                    'params' => array('app' => 'imp')),
     'mimp' => array('driver' => 'application',
-                    'params' => array('app' => 'mimp')));
+                    'params' => array('app' => 'mimp')),
+    'horde_sql' => array('driver' => 'sql',
+                                'params' => array(
+                                                 'hostspec' => 'localhost',
+                                                 'phptype' => 'mysql',
+                                                 'protocol' => 'unix',
+                                                 'username' => 'horde',
+                                                 'password' => 'hordepass',
+                                                 'database' => 'horde')));
+
+$conf['auth']['params']['admin_driver'] = 'horde_sql';
 $conf['auth']['params']['loginscreen_switch'] = '_horde_select_loginscreen';
 
 if (!function_exists('_horde_select_loginscreen')) {
     function _horde_select_loginscreen()


More information about the cvs mailing list