[turba] No details for LDAP directory

lst_hoe02 at kwsoft.de lst_hoe02 at kwsoft.de
Tue Jan 14 11:51:32 UTC 2014


Hello,

we try to use a central LDAP directory as read only contact store with  
Turba latest. Searching works fine as of now but when clicking at the  
found entries to get the details for this entries Turba always show  
the error message "Not found" and jump back to the search screen. The  
LDAP source is listed below, the backend is "ESTOS MetaDirectory". We  
have tried different mappings for __key, but the result is always the  
same :-(


$cfgSources['localldap'] = array(
     'disabled' => false,
     'title' => _("MetaDirectory"),
     'type' => 'ldap',
     'params' => array(
         'server' => 'internal.server',
         'port' => 712,
         'tls' => false,
         'root' => 'dc=meta',
         'sizelimit' => 200,
         'dn' => array('cn'),
         'objectclass' => array('top',
                                'person',
                                'organizationalPerson',
                                'inetOrgPerson'),
         'scope' => 'sub',
         'charset' => 'utf-8',
         'checkrequired' => false,
         'checkrequired_string' => ' ',
         'checksyntax' => false,
         'version' => 3,

     ),
     'map' => array(
         '__key' => 'dn',
         '__uid' => 'entryID',

         'email' => 'mail',
         'homeEmail' => 'mail2',
         'homePhone' => 'otherTelephone',
         'workPhone' => 'telephoneNumber',
         'cellPhone' => 'mobile',

         'firstname' => 'sn',
         'lastname' => 'givenName',
         'name' => array('fields' => array('firstname', 'lastname'),
                         'format' => '%s %s'),
         'workStreet' => 'streetAddress',
         'workCity' => 'I',
         'workPostalCode' => 'postalCode',
         'workCountry' => 'c',
         'workAddress' => array('fields' => array('workStreet', 'workCity',
                                                  'workPostalCode'),
                                'format' => "%s \n %s, %s  %s"),

         'homeStreet' => 'privateAdressStreet',
         'homeCity' => 'privateAddressCity',
         'homePostalCode' => 'privateAddressPostalCode',
         'homeCountry' => 'privateAddressCountry',
         'homeAddress' => array('fields' => array('homeStreet', 'homeCity',
                                                  'homePostalCode'),
                                'format' => "%s \n %s, %s  %s"),


         'department' => 'department',
         'fax' => 'facsimileTelephoneNumber',
         'company' => 'company',
     ),
     'tabs' => array(
         _("Personal") => array('firstname', 'lastname',
                                'name' ),
         _("Location") => array('homeStreet', 'homeCity',
                                'homePostalCode', 'homeCountry',
                                'homeAddress', 'workStreet',
                                'workCity', 'workPostalCode',
                                'workCountry', 'workAddress'),
         _("Communications") => array('email', 'homeEmail',  
'homePhone', 'workPhone',
                                      'cellPhone', 'fax' ),
         _("Organization") => array('company', 'department'),
     ),
     'search' => array(
         'company',
         'name',
         'email',
         'homeEmail',
         'homePhone',
         'workPhone',
         'cellPhone'
     ),
     'strict' => array(
         'dn', 'uid'
     ),
     'approximate' => array(
         'cn',
     ),
     'export' => false,
     'browse' => false,
     'use_shares' => false,
);


Thanks for any help

Andreas



More information about the turba mailing list