LDAP Question

Steve Simeonidis simes@cpgen.cpg.com.au
Tue, 5 Feb 2002 12:12:36 +0000


I've installed turba and set the file
/var/www/html/horde/turba/config/sources.php
to point to our internal LDAP server.

- I'm trying to add extra searches like location and few other
but the system doesn't display them on the search window.

- Can I add more data in the search results? Currently it only displays
Name (cn) and Email.

$cfgSources['sd'] = array(
    'title' => 'Staff Database',
    'type' => 'ldap',
    'params' => array(
        'server' => 'sd.cpgen.cpg.com.au',
        'port' => 389,
        'root' => 'ou=People,dc=spherion,dc=com',
        'dn' => array('cn'),
        'objectclass' => 'inetOrgperson',
        'filter' => ''
    ),
    'map' => array(
        '__key' => 'dn',
        'name' => 'cn',
        'email' => 'mail',
        'location' => 'l',
        'alias' => 'givenname'
    ),
    'search' => array(
        'name',
        'email',
        'location',
        'alias'
    ),
    'strict' => array(
        'dn'
    ),
    'public' => true,
    'readonly' => true,
    'export' => false
);

Thank you



-- 

Steve Simeonidis
Network Engineer, Spherion Education
Spherion Group Ltd

1st Floor, 493 St. Kilda Rd, Melbourne VIC 3004, Australia
Phone:  +61 3 9243 2382    Fax:    +61 3 9820 2010
Email: stevesimeonidis@spherion.com