[turba] ldap query help/problem

Derkowski, Matthew derkom at rpi.edu
Mon Feb 28 13:08:18 PST 2005


I have open ldap running and working.  I am trying to get the public
ldap to work in turba.  I cannot seem to get this to work.  When I try
to add or search I just get a blank white page.  Any thoughts or ideas ?
I can post any of my ldap config if needed.
 
Thanks,
-Matt
 
 
 
/**
 * A local address book in an LDAP directory. This implements a public
 * (shared) address book.
 */
$cfgSources['localldap'] = array(
    'title' => 'Public Ldap Directory',
    'type' => 'ldap',
    'params' => array(
        'server' => 'ldap.domain.com',
        'port' => 389,
        'root' => 'dc=domain,dc=com',      // or
'cn=manager,dc=domain,dc=com', neither work
        'tls' => false,
        'bind_dn' => 'uid=root,ou=People,dc=domain,dc=com',
        'bind_password' => '%password%',
        'sizelimit' => 200,
        'dn' => array('cn'),
        'objectclass' =>
array('top','person','organizationalPerson','inetOrgPerson'),
        'charset' => 'iso-8859-1',
        // check if all required attributes for an entry are set and add
them
        // if needed.
        'checkrequired' => false,
        // string to put in missing required attributes.
        'checkrequired_string' => ' ',
        'version' => 3
    ),
    'map' => array(
        '__key' => 'dn',
        '__uid' => 'uid',
        'name' => 'cn',
        'email' => 'mail',
        'homePhone' => 'homephone',
        'workPhone' => 'telephonenumber',
        'cellPhone' => 'mobiletelephonenumber',
        'homeAddress' => 'homepostaladdress'
        // 'freebusyUrl' => 'calFBURL'
    ),
    'search' => array(
        'name',
        'email',
        'homePhone',
        'workPhone',
        'cellPhone',
        'homeAddress'
    ),
    'strict' => array(
        'dn'
    ),
    'public' => true,
    'readonly' => false,
    'admin' => array(),
    'export' => true
);
 
 


More information about the turba mailing list