Module: check_mk
Branch: master
Commit: b716ca5ded4a5d65c23c3fceeac78009e98afa5a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b716ca5ded4a5d…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Sun Oct 7 18:54:25 2018 +0200
Fixed LDAP SSL analyze configuration test after 1.6 refactoring
Change-Id: I4c4c8fc07a4903993452811523cb27586132e3af
---
cmk/gui/plugins/userdb/ldap_connector.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmk/gui/plugins/userdb/ldap_connector.py
b/cmk/gui/plugins/userdb/ldap_connector.py
index 8af2b1a..44fe9e8 100644
--- a/cmk/gui/plugins/userdb/ldap_connector.py
+++ b/cmk/gui/plugins/userdb/ldap_connector.py
@@ -261,7 +261,7 @@ class LDAPUserConnector(UserConnector):
def _format_ldap_uri(self, server):
- if self._use_ssl():
+ if self.use_ssl():
uri = 'ldaps://'
else:
uri = 'ldap://'
@@ -381,7 +381,7 @@ class LDAPUserConnector(UserConnector):
return servers
- def _use_ssl(self):
+ def use_ssl(self):
return 'use_ssl' in self._config