O.K. - here we go :-)
I am searching a directory using an authenticated bind.
I am using the same connection for a number of searches; essentially navigating down the X.500 DIT to extract leaf entries from some (but not all) limbs of the directory.
On the test system this always works.
On the live system this often works.
When searching a particularly large subtree I seem to get all the data back, but the connection is shown in the DSA log as unbinding, although I have not issued an 'unbind'.
The next search fails (obviously); I then have to bind to the directory again before I can search again.
I have no real evidence as to why the connection has unbound. It could be a timeout condition under load, perhaps.
My main problem is that I can't see any way under Mozilla::LDAP to set the timeout period for a search.
I can see in Net::LDAP that I can specify a timeout when I bind, which may be inherited by the searches, but the interface through Mozilla::LDAP seems to be very simplistic.
Any suggestions on how to improve the resilience of the search would be welcome.
Regards
Dave R.
In reply to Re^2: Using Mozilla::LDAP instead of Net::LDAP
by LittleGreyCat
in thread Using Mozilla::LDAP instead of Net::LDAP
by LittleGreyCat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |