ldap search imp 2.3.7

Scott Augustus scott@visgen.com
Thu, 29 Nov 2001 16:00:05 -0500


Greetings all,

Been working away diligently with horde/imp and am very close to rolling 
this out to users.  But before I do I want to get imp to do ldap email 
address searches on my ldap server.  

I've got openldap running and it serves my Netscape clients just great. 
 However, I can't seem to get imp to query ldap.  I don't get any errors 
but running openldap in debug mode shows no connection attempts from the 
imp box???

Any input would be greatly appreciated :-)

Version info etc. below... TIA!

Scott

---
Here's my details

    * Horde: 1.3.5-cvs
    * IMP: 2.3.7-cvs
    * Turba: 0.0.3-cvs
    * PEAR - Yes
    * PHP Version: 4.2.0-dev
    * IMAP Support: Yes
    * LDAP Support: Yes

And in horde/turba/config/sources.php:

$cfgSources['contacts'] = array(
    'title' => 'Contacts',
    'type' => 'ldap',
    'params' => array(
        'server' => 'foobar',
        'port' => 389,
        'root' => 'dc=foobar,dc=com',
        'objectclass' => 'inetOrgPerson',
        'dn' => array('cn'),
        'bind_dn' => 'cn=Manager,dc=foobar,dc=com',
        'bind_password' => 'foobar'
    ),
    'map' => array(
        '__key' => 'dn',
        'name' => 'cn',
        'email' => 'mail',
    ),
    'search' => array(
        'name',
        'email',
    ),
    'public' => true,
    'readonly' => false,
    'export' => true
);