[imp] Re: shared ldap addressbook

eculp at encontacto.net eculp at encontacto.net
Tue Jul 8 14:12:12 PDT 2003


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

|
| >
| > What error messages do you see in slapd.log, messages,
| > http-error.log or equivalent?
| >
| > ed
|
| I don't see any related log entries on the horde box, or the
| remote ldap box for that matter. No errors in http-error.log, I
| see:
|  192.103.195.153 - - [08/Jul/2003:13:05:09 -0700] "GET
|
/horde/turba/search.php?actionID=1&Horde=65810845f57133f917937bf1d7973de9&criteria=name&val=steve&source=TPL
| HTTP/1.1" 200 5
|
| nothing in /var/log/messages
|
| I ran ethereal on the horde/imp/turba box and captured the output
| while I tried to do a search. There was *no* ldap request from
| the machine. I did it again using the ldapsearch command and
| *did* see ldap traffic.
|
| deeply in the dark....

Not really.  There seems to be an error in your configuration and
you aren't accessing the ldapserver.  Try subsituting the correct
value in the following on the command line and see if it lists your
users.  If it doesn't, you have found your problem.  Just solve it
on the command line and then change the values in your configuration.

ldapsearch -H "ldap://xxx.xxx.xxx.xxx" -x -b 'ou=tpl,o=lib,st=wa,c=us'

I hope this helps,

ed

|
| -Steve
|
| >
| > | ---- snippet from turba sources.php------------
| > | /*
| > |  * TPL Shared Addressbook.
| > |  */
| > | $cfgSources['TPL'] = array(
| > |     'title' => 'TPL Staff Directory',
| > |     'type' => 'ldap',
| > |     'params' => array(
| > |         'server' => 'xxx.xxx.xxx.xxx', (incognito)
| > |         '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
| > | );
|
|
| --
| 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