Login transactions taking a long time with LDAP authenticationIssue <!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internalTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:0; } .sp td{ border-bottom: 1px solid; border-right: 1px solid; border-color:#E0E0E0; background-color: #ffffff; height: 20px; padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; } .sphr td{ border-right: 1px solid; border-bottom: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; height: 20px; } .title { color: #D1232B; font-weight:; font-size:25px; } .hd1{ color: #D1232B; font-weight:; font-size:18px; } .hd2{ color: #646464; font-weight:bold; font-size:16px; } .hd3{ color: #7a7a7a; font-weight:; font-size:16 px; text-decoration:; } .hd4{ color: #000000; font-weight:bold; font-size:14 px; text-decoration:; } --> Login latency seen with LDAP Authentication ProblemUsers notice a latency at login when they are authenticated using LDAP. SymptomsIf you review the stack trace for the login, you will see the following, indicating we are stuck executing the call getHostByAddr:main,Default-thread-14,5,attrs=(session_id=B67EF8A2B06739C031D014FC588414CF) java.net.Inet6AddressImpl.getHostByAddr(Native Method) java.net.InetAddress$1.getHostByAddr(InetAddress.java:880) java.net.InetAddress.getHostFromNameService(InetAddress.java:559) java.net.InetAddress.getHostName(InetAddress.java:502) java.net.InetAddress.getHostName(InetAddress.java:474) com.sun.net.ssl.internal.ssl.SSLSocketImpl.getHost(SSLSocketImpl.java:1956) com.sun.net.ssl.internal.ssl.Handshaker.getHostSE(Handshaker.java:257) com.sun.net.ssl.internal.ssl.ClientHandshaker.getKickstartMessage(ClientHandshaker.java:1023) com.sun.net.ssl.internal.ssl.Handshaker.kickstart(Handshaker.java:620) com.sun.net.ssl.internal.ssl.SSLSocketImpl.kickstartHandshake(SSLSocketImpl.java:1290) com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1187) com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1215) com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1199) com.sun.jndi.ldap.Connection.createSocket(Connection.java:364) com.sun.jndi.ldap.Connection.(Connection.java:186) com.sun.jndi.ldap.LdapClient.(LdapClient.java:116) CauseLDAP authentication requires reverse DNS to be set up. If there is no externally accessible reverse DNS lookup, a delay is seen in authenticating the user. ResolutionReverse DNS lookup needs to be set up on the LDAP server and should be externally accessible.