close Warning: Can't synchronize with repository "keplertools" (/srv/svn/keplertools does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Initial Version and Version 1 of AdminHorde


Ignore:
Timestamp:
Nov 9, 2011, 8:58:51 PM (15 years ago)
Author:
bau
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdminHorde

    v1 v1  
     1=== Anpassungen am Horde3 Framework ===
     2
     3== Adressbuch ==
     4
     5In der Mysql-Datenbank Horde wurde die Tabelle Kepler_Adressbuch angelegt:
     6
     7 * object_id   
     8   * int(11)
     9   * auto_increment
     10 * object_name 
     11   * varchar(255)       
     12 * object_alias         
     13   * varchar(32)
     14 * object_email         
     15   * varchar(255)
     16
     17Per Script wird täglich die eMail-Verteiler-Liste aus /etc/aliases in die Datenbank übetragen.
     18
     19In /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:
     20
     21$cfgSources['schule'] = array(
     22    'title' => _("Kepler-Adressbuch"),
     23    'type' => 'sql',
     24    // The default connection details are pulled from the Horde-wide
     25    // SQL connection configuration.
     26    //
     27    // The old example illustrates how to use an alternate database
     28    // configuration.
     29    //
     30    // New Example:
     31    'params' => array_merge($conf['sql'], array('table' => 'Kepler_Adressbuch')),
     32
     33    'map' => array(
     34        '__key' => 'object_id',
     35        'name' => 'object_name',
     36        'email' => 'object_email',
     37        'alias' => 'object_alias',
     38    ),
     39    'search' => array(
     40        'name',
     41        'email'
     42    ),
     43    'strict' => array(
     44        'object_id',
     45    ),
     46    'public' => true,
     47    'readonly' => true,
     48    'admin' => array(),
     49    'export' => false
     50);