[Pkg-openldap-devel] Bug#495316: ldapsearch hangs...

Howard Chu hyc at openldap.org
Mon Aug 18 19:52:52 UTC 2008


This patch is obviously wrong. The timelimit you're looking at is an LDAP 
protocol-level option sent to an LDAP server to tell it the maximum amount of 
time it should spend executing the search operation.

You want to specify the API timeout here. The two are completely separate and 
mixing the two violates the API definition.

When you upgrade to OpenLDAP 2.4's libldap you can use "TIMEOUT" in 
ldap.conf(5) to set the API timeout.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/





More information about the Pkg-openldap-devel mailing list