| Version 1 (modified by , 15 years ago) ( diff ) |
|---|
Anpassungen am Horde3 Framework
Adressbuch
In der Mysql-Datenbank Horde wurde die Tabelle Kepler_Adressbuch angelegt:
- object_id
- int(11)
- auto_increment
- object_name
- varchar(255)
- object_alias
- varchar(32)
- object_email
- varchar(255)
Per Script wird täglich die eMail-Verteiler-Liste aus /etc/aliases in die Datenbank übetragen.
In /usr/share/horde3/turba/config/sources.php wurde die LDAP-Anbindung des Kepler-Adresbuchs gelöscht und dafür die Anbindung an die MySQL-Source eingefügt:
$cfgSourcesschule = array(
'title' => _("Kepler-Adressbuch"), 'type' => 'sql', The default connection details are pulled from the Horde-wide SQL connection configuration. The old example illustrates how to use an alternate database configuration. New Example: 'params' => array_merge($confsql, array('table' => 'Kepler_Adressbuch')),
'map' => array(
'key' => 'object_id', 'name' => 'object_name', 'email' => 'object_email', 'alias' => 'object_alias',
), 'search' => array(
'name', 'email'
), 'strict' => array(
'object_id',
), 'public' => true, 'readonly' => true, 'admin' => array(), 'export' => false
);