[turba] About problems with Turba 1.2 and LDAP

RicardoNúñez rinunez at usb.ve
Fri Mar 14 17:53:57 PST 2003


Hi,

I send you a LDAP configuration which worked for me:

**********************
$cfgSources['localldap'] = array(
    'title' => 'USBnet',
    'type' => 'ldap',
    'params' => array(
        'server' => 'ldap.usb.ve',
        'port' => 389,
        'root' => 'dc=USB, dc=ve',
        'dn' => array('cn'),
        'objectclass' => 'person',
        'filter' => '',
        'version' => 2
    ),
    'map' => array(
        '__key' => 'dn',
        'name' => 'cn',
        'email' => 'mail',
        'workPhone' => 'telephonenumber'
    ),
    'search' => array(
        'name',
        'email',
        'workPhone'
    ),
    'strict' => array(
        'dn'
    ),
    'public' => true,
    'readonly' => true,
    'export' => false
);
**********************

By the way.... I had to put in lowercase 'telephoneNumber'. The original name is
with that letter uppercase. The problem I had was that Turba 1.2 didn't want to
show me the telephone field in the browser. However I could search entries using
that field.

Hope this helps.


Saludos,

           Ing. Ricardo Núñez
           Webmaster de la DST
           Universidad Simón Bolívar
           E-Mail: rinunez at usb.ve 


More information about the turba mailing list