Strat,
there is error handling in the code; however the symptoms are:
(1) A search completes without error, returning the expected (large amount of) data.
(2) The next searches fails 'Unable to contact LDAP server' (or similar).
The server log shows that the connection was unbound after the successful search in (1) although the code did not issue an 'unbind'.
This in turn explains the unexpected failure in (2) as there is no longer a connection.
I have not yet located a log which shows any error associated with the connection which unexpectedly 'unbound'.
I have so far been unable to reproduce the fault on a test system, and I am reluctant to propose upping the server logging on an extremely heavily loaded live service.
Regards
Dave R.
Nothing succeeds like a budgie with no teeth.
|