You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to handle RFC 4511 4.4.1 "Notice of Disconnection" for when a server terminates the connection, and also if the connection just drops in the exceptional case.
For user convenience, it's also worth exploring a way to reconnect behind the scenes #11
To address this user's issue, more details are needed. We'd need to know what the "fail" here means: an exception? A server error? Which one?
I'm not sure if this changed since 0.1.1 but we don't keep the connection open between calls to bind and search (and search) so the failure could be unrelated... again, assuming 0.1.1 didn't leave the connection open between these.
Either way, agree with your observation when using Net::LDAP#open { ... }. An on_discussion hook would be great to provide so the user can decide what to do in that case.
Originally submitted as RubyForge issue 28676 on 2010-10-28 by Cédric F. (iuser69):
I'm using net-ldap with active-ldap into my rails project.
It seems something went wrong about the server disconnection handle.
This is what can reproduce the problem
The text was updated successfully, but these errors were encountered: