[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldapsearch: erratic "Time limit exceeded" errors



Hi

Most of the time, ldapsearch timeouts whenever I try a search. Sometimes
it works. Here is a session show it working, and immediately thereafter
not working:

"""
blommie www.feko.info # /etc/init.d/slapd restart
* Stopping ldap-server... [ ok ]
* Starting ldap-server... [ ok ]
blommie www.feko.info # ldapsearch -x -b "dc=upfrontsystems,dc=co,dc=za" '(sn=Courtois)'
version: 2


#
# filter: (sn=Courtois)
# requesting: ALL
#

# ContactPerson_315, Customer_160, creme, upfrontsystems, co, za
dn: oid=ContactPerson_315,oid=Customer_160,dc=creme,dc=upfrontsystems,dc=co,dc
=za
givenName: Pierre Courtois
[...]


blommie www.feko.info # ldapsearch -x -l 0 -b "dc=upfrontsystems,dc=co,dc=za" '(uid=ContactPerson_315)'
version: 2


#
# filter: (uid=ContactPerson_315)
# requesting: ALL
#

# search result
search: 2
result: 3 Time limit exceeded

# numResponses: 1
"""

I am specifying "-l 0" on the commandline, to lift any timelimit. I
don't set a timelimit in slapd.conf either. What could be going wrong?
Should I post the result with "-d'-1'"?

--
Jean Jordaan
http://www.upfrontsystems.co.za