Explorar el Código

HPCC-20255 Improve ldap tracing when cache connection fails

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday hace 6 años
padre
commit
7baf4d912a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      system/security/LdapSecurity/ldapconnection.cpp

+ 1 - 1
system/security/LdapSecurity/ldapconnection.cpp

@@ -876,7 +876,7 @@ public:
                     m_ld = NULL;
                     m_connected = false;
                 }
-                DBGLOG("cached connection invalid, creating a new connection");
+                DBGLOG("cached connection invalid (%s), creating a new connection", ldap_err2string(err));
                 return connect(m_useSSL);//reconnect stale connection, using original protocol
             }
             else