[turba] Turba and LDAP

Pascal BOYER pascal at linuxorable.net
Thu Dec 23 07:43:03 PST 2004


Hi,

I'am trying to configure LDAP for Turba on my Debian/Sid.

This is my LDAP config:

ou=carnet adresses,dc=linuxorable,dc=net

and entries look like that:

cn=BOYER Pascal,ou=carnet adresses,dc=linuxorable,dc=net

The 3 commands below work fine:

ldapsearch -x
ldapsearch -H ldap://linuxorable.net -x -z 0  -b 'dc=linuxorable,dc=net'
'(objectclass=*)'
ldapsearch -h linuxorable.net -x -z 0  -b 'dc=linuxorable,dc=net'
'(objectclass=*)

Here is my /etc/turba/sources-debconf.php

$cfgSources['MonAnnuaire'] = array(
    'title' => 'l\'annuaire LDAP',
    'type' => 'ldap',
    'params' => array(
        'server' => 'linuxorable.net',
        'port' => 389,
        'root' => 'dc=linuxorable,dc=net',
        'dn' => array('cn'),
        'objectclass' => 'carnet adresses',
        'filter' => 'objectclass=*'
    ),
    'map' => array(
        '__key' => 'dn',
         'name' => 'sn',
         'email' => 'mail',
         'alias' => 'givenName',
         'workPhone' => 'telephoneNumber',
         'workAddress' => 'postalAddress',
         'company' => 'department',
         'title' => 'title',
         'fax' => 'facsimileTelephoneNumber'
    ),
    'search' => array(
        'name',
        'mail',
    ),
    'strict' => array(
    'dn'
    ),
    'public' => true,
    'readonly' => true,
    'export' => true
);

?>

... but there any entry displayed in Turba.
Therefore I can't configure IMP in order it uses my LDAP directory.

I specify that my directory works fine with my another mailer (Thunderbird).

Thank you for your help

Pascal


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the turba mailing list