[cvs] [Wiki] created: LdapPref

Wiki Guest wikiguest at horde.org
Mon Jun 19 08:19:46 PDT 2006


guest [82.233.234.109]  Mon, 19 Jun 2006 08:19:39 -0700

Created page: http://wiki.horde.org/LdapPref

+ Using LDAP to store Horde/IMP Preferences

Written by Lacroix Francois (lacroix.francois [at] gmail [dot] com)

[[toc]]

----

This document is intended to help administrators set up a LDAP to store Horde and IMP prefs.

----

1- Installing schema
Copy the horde/scripts/ldap/horde.schema to /etc/ldap/schema/
Restart your ldap server.

2- Configuring horde
Horde config/prefs.php
Set pref hooks to true

// user full name for From: line
// If you lock this preference, you must specify a value or a hook for it in
// horde/config/hooks.php.
$_prefs['fullname'] = array(
    'value' => 'true',
    'locked' => false,
    'shared' => true,
    'type' => 'text',
    'desc' => _("Your full name:")
);

// user preferred email address for From: line
// If you lock this preference, you must specify a value or a hook for it in
// horde/config/hooks.php.
$_prefs['from_addr'] = array(
    'value' => 'true',
    'locked' => false,
    'shared' => true,
    'type' => 'text',
    'desc' =>  _("Your From: address:")
);

Horde config/hooks.php
Uncomment and configure the hook you active
_prefs_hook_fullname
_prefs_hook_from_addr

By modify $ldapServer, $ldapPort,  $searchBase



More information about the cvs mailing list