[horde] Getting Turba to use the enterprise LDAP directory
Francoise Koenig-Jost
jost at esrf.fr
Thu Jul 28 09:30:37 UTC 2011
Hi,
We've been using Horde + imp + turba + ingo + forwards + vacation to our
entire satisfaction for years, now
the time has come for an upgrade to the latest release and I've some
problems to get turba to use our LDAP directory
in the new installation (this works in our current installation).
The turba basic search page does not offer a choice of directories to
search and if I search for someone in
the LDAP directory, the result is empty. I don't find any error message
in the logs.
Any help would be much appreciated. TIA
Francoise Koenig
The various config files are:
-------------new installation: -----------------------
**************************************
==> turba/config/conf.php from
---------------------------------------
<?php
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Id: 09b0c45b46e87aabed0f94ca32516030865b379b $
$conf['menu']['import_export'] = true;
$conf['menu']['apps'] = array('horde', 'imp', 'turba');
$conf['shares']['source'] = 'localsql';
$conf['comments']['allow'] = false;
$conf['documents']['type'] = 'horde';
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
--------------------------------------
==> turba/config/backends.php (changed beginning of LDAP part , the rest
of the file is as provided)
----------------------------------------------
$cfgSources['localldap'] = array(
// Disabled by default
'disabled' => false,
'title' => _(" ESRF LDAP Directory"),
'type' => 'ldap',
'params' => array(
'server' => 'ldap.esrf.fr',
'port' => 389,
'tls' => false,
'root' => 'ou=people,dc=esrf,dc=fr',
'sizelimit' => 200,
'dn' => array('cn'),
'objectclass' => array('top',
'person',
'organizationalPerson',
'inetOrgPerson'),
'scope' => 'one',
'charset' => 'iso-8859-1',
// Consult the LDAP schema to verify that all required
attributes for
// an entry are set and add them if needed.
'checkrequired' => false,
// Value used to fill in missing required attributes.
'checkrequired_string' => ' ',
// Check LDAP schema for valid syntax. If this is false an address
// field is assumed to have postalAddress syntax; otherwise the
schema
// is consulted for the syntax to use.
'checksyntax' => false,
'version' => 3,
),
'map' => array(
'__key' => 'dn',
----------------------------------------------------
==> turba/config/backends.local.php
---------------------------------------------------
$cfgSources['localldap']['disabled'] = false;
$cfgSources['localldap']['params']['server'] = 'ldap.esrf.fr';
$cfgSources['localldap']['params']['root'] = 'ou=people,dc=esrf,dc=fr';
$cfgSources['localldap']['params']['charset'] = 'iso-8859-1';
---------------------------------------------------
==> log level in horde conf.php
-------------------------------------------------
$conf['debug_level'] = E_ALL & ~E_NOTICE;
-------------------------------------------------
==> error_log in php.ini
----------------------------------------------
error_log = 'syslog'
----------------------------------------------
-------------currently used installation: -----------------------
***********************************************
==> turba/config/conf.php
---------------------------------------------------
<?php
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Horde: turba/config/conf.xml,v 1.6.2.3 2006/05/09 15:58:10 jan Exp $
$conf['menu']['import_export'] = true;
$conf['menu']['apps'] = array('forwards', 'imp', 'ingo', 'vacation');
$conf['client']['addressbook'] = 'ldap.esrf.fr';
$conf['comments']['allow'] = true;
$conf['documents']['type'] = 'horde';
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
----------------------------------------------------
==> turba/config/sources.php (changed beginning of LDAP part , the rest
of the file is as provided)
---------------------------------------------------
$cfgSources['localldap'] = array(
'title' => _("ESRF LDAP Directory"),
'type' => 'ldap',
'params' => array(
'server' => 'ldap.esrf.fr',
'port' => 389,
'tls' => false,
'root' => 'ou=people,dc=esrf,dc=fr',
'dn' => array('cn'),
'objectclass' => array('top',
'person',
'organizationalPerson',
'inetOrgPerson'),
'scope' => 'one',
'charset' => 'iso-8859-1',
// Consult the LDAP schema to verify that all required
attributes for
// an entry are set and add them if needed.
'checkrequired' => false,
// Value used to fill in missing required attributes.
'checkrequired_string' => ' ',
// Check LDAP schema for valid syntax. If this is false an address
// field is assumed to have postalAddress syntax; otherwise the
schema
// is consulted for the syntax to use.
'checksyntax' => false,
'version' => 3
),
'map' => array(
'__key' => 'dn',
-------------------------------------------------------------------
Here are the details of the platforms:
future installation under configuration:
Centos 5
Apache httpd 2.2.19
PHP 5.3.6
webmail 4.0.1
currently used:
Sun Solaris 5.9
Apache httpd 2.2.16
PHP 4.4.8
Horde 3.1.7-cvs
imp 4.1.6
turba 2.1.7-cvs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jost.vcf
Type: text/x-vcard
Size: 398 bytes
Desc: not available
URL: <http://lists.horde.org/archives/horde/attachments/20110728/4d39107b/attachment.vcf>
More information about the horde
mailing list