Module: check_mk
Branch: master
Commit: 0efabc32c374ceb9182eaa45fdf92714f6a0260a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0efabc32c374ce…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon May 28 11:58:58 2018 +0200
LDAP: Also enable GNUTLS debugging in case of ldap debug logging is active
Change-Id: Iddb1804b48d78ed611da4e7a75a892e66499272a
---
web/plugins/userdb/ldap.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/web/plugins/userdb/ldap.py b/web/plugins/userdb/ldap.py
index b189735..f58d2ca 100644
--- a/web/plugins/userdb/ldap.py
+++ b/web/plugins/userdb/ldap.py
@@ -213,6 +213,7 @@ class LDAPUserConnector(UserConnector):
try:
trace_args = {}
if self._logger.isEnabledFor(cmk.log.DEBUG):
+ os.environ["GNUTLS_DEBUG_LEVEL"] = "99"
ldap.set_option(ldap.OPT_DEBUG_LEVEL, 4095)
trace_args["trace_level"] = 2
trace_args["trace_file"] = sys.stderr