Subject: pine verbose ldap lookup ?

From: Olivier Kaloudoff <[email-masked]>
Date: Wed, 22 Dec 2004 21:43:41 +0100 (CET)

Hi,

 	I just setup pine to search into my local ldap directory,
using the following parameters:

ldap-server          = ge
search-base          = cn=kalou,dc=kalou,dc=net
port                 = <No Value Set: using "389">
nickname             = ldap.kalou.net

 	using the command line tool, I find 2 responses;

kalou@ge ldapsearch -x -h ge -b cn=kalou,dc=kalou,dc=net sn=test | grep -A2 "search result"
# search result
search: 2
result: 0 Success

 	but with pine, I get 0 response.

 	I'm using search type "sur-or-given-or-name-or-email" and
don't understand what's happening.

 	Nothing seems to flow to the network with a tcpdump,
so I'm looking for ways to trace the problem.

Am I doing something wrong ?

Olivier Kaloudoff
LUG Linux Azur
http://www.linux-azur.org

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Kolbjørn Barmen <[email-masked]>
Date: Sun, 26 Dec 2004 18:25:03 +0100 (CET)

> Am I doing something wrong ?

Perhaps your LDAP-server only supports LDAPv3?

Try

ldapsearch -x -P 2 -h ge -b cn=kalou,dc=kalou,dc=net sn=test

to force a search using LDAPv2, which is what pine currently supports.

-- 
Kolbjørn Barmen
UNINETT Driftsenter