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
ldap = Net::LDAP.new(..., :encryption => {:method => :simple_tls})
ldap.bind(...)
ldap.search(...) # will succeed
# wait 15 minutes
ldap.search(...) # will fail