Request for review: 8000487: Java JNDI connection library on ldap conn is not honoring configured timeout

Rob McKenna rob.mckenna at
Thu Oct 11 20:22:48 UTC 2012

Hi folks,

Seemingly when using ldap's simple authentication we perform a 
readReply. (an operation which is subject to as opposed to 
com.sun.jndi.ldap.connect.timeout) This makes an apparent connection to 
a faulty host appear to take much longer than the specified connect 
timeout. The proposed solution is to set the read timeout value to the 
same value as the connect for the duration of the authentication call.

In addition to this I've merged the testcase for this issue with the 
testcases for other ldap timeout issues. 



More information about the core-libs-dev mailing list