We are using OpenLDAP client library to conect to an LDAP server. The problem is that if there is no activity for some time, server (or firewall in the middle) drops TCP connection.
Our current implementation of "keep-alive" just does search for baseDN from time to time - any better ideas ?