[turba] LDAP server configuration in Turba

Prakash Velayutham velayups at email.uc.edu
Mon Mar 29 02:08:44 PST 2004


Hi,

We have a LDAP server here and I am sure it works fine as I could
connect to it through Eudora client mail. I can query it for names and
it does returns correct results.
Now I have
Horde - 2.2.4
Imp - 3.2.2
Turba - 1.2.1

installed. Everything else like Local (My Address Book) SQL book works
fine. I am now trying to configure to use this LDAP server, but I am not
successful. I took the "localldap" configuration as the sample and
modified it. We do not need passwords to connect to the server, so there
is not bind name or password. Also I do not understand the "dc=uc" and
"dc=edu" stuff inside params. I am attaching a portion of the
sources.php here.
Any ideas is appreciated. Thanks a lot in advance.

$cfgSources['UC'] = array(
    'title' => 'UC Directory',
    'type' => 'ldap',
    'params' => array(
        'server' => 'ucmail.uc.edu',
        'port' => 389,
        'root' => 'dc=uc,dc=edu',
        'dn' => array('sn'),
        'objectclass' => 'person',
        'version' => 3
    ),
    'map' => array(
        '__key' => 'dn',
        'name' => 'sn',
        'email' => 'mail',
        'alias' => 'givenName',
        'workPhone' => 'telephoneNumber',
        'workAddress' => 'postalAddress',
        'company' => 'department',
        'title' => 'title',
        'fax' => 'facsimileTelephoneNumber'
    ),
    'search' => array(
        'name',
        'email'
    ),
    'strict' => array(
        'dn'
    ),
    'public' => true,
    'readonly' => false,
    'admin' => array(),
    'export' => true
);

Prakash



More information about the turba mailing list