wiki:AdminHorde
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.

Version 2 (modified by Rüdiger Kupper, 15 years ago) ( diff )

Formatierung

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-Adressbuchs gelöscht und dafür die Anbindung an die MySQL-Source eingefügt:

$cfgSources['schule'] = 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($conf['sql'], 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
);
Note: See TracWiki for help on using the wiki.