[imp] shared ldap addressbook

eculp at encontacto.net eculp at encontacto.net
Tue Jul 8 10:33:34 PDT 2003


Quoting Stephen Hjelmstad <shjelmstad at tpl.lib.wa.us>:

| I'm trying to get turba to work with a ldap server, so I can
| provide a shared addressbook. The server responds to a query
| such as
| ldapsearch  -x -h servername -b ou=tpl,o=lib,st=wa,c=us
| 'uid=username'
|
| but, I'm not having much luck getting turba to fetch any results.
| I suspect it's in the 'dn' => array('cn') statement, but I don't
| understand what is being defined there.
|
| thanks for any tips you can offer!

What error messages do you see in slapd.log, messages, http-error.log or
equivalent?

ed

| ---- snippet from turba sources.php------------
| /*
|  * TPL Shared Addressbook.
|  */
| $cfgSources['TPL'] = array(
|     'title' => 'TPL Staff Directory',
|     'type' => 'ldap',
|     'params' => array(
|         'server' => 'xxx.xxx.xxx.xxx',
|         'port' => 389,
|         'root' => 'ou=tpl,o=lib,st=wa,c=us',
|         'dn' => array('cn'),
|         'objectclass' => 'person',
|         'filter' => '*',
|         'encoding' => 'ldif', (I've also tried utf8)
|         'version' => 3
|     ),
|     'map' => array(
|         '__key' => 'dn',
|         'name' => 'cn',
|         'email' => 'mail',
|         'alias' => 'givenname'
|     ),
|     'search' => array(
|         'name',
|         'email',
|         'alias'
|     ),
|     'strict' => array(
|         'dn'
|     ),
|     'public' => true,
|     'readonly' => true,
|     'export' => false
| );
|
|
|
| --
| Stephen Hjelmstad
| Network Manager
| Tacoma Public Library
| 253-591-5662
|
|
| --
| IMP mailing list
| Frequently Asked Questions: http://horde.org/faq/
| To unsubscribe, mail: imp-unsubscribe at lists.horde.org
|


--


-------------------------------------------------



More information about the imp mailing list