We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cabfaa7 + 7e724e2 commit b6d0815Copy full SHA for b6d0815
readme-vars.yml
@@ -34,6 +34,7 @@ app_setup_block: |
34
35
# changelog
36
changelogs:
37
+ - { date: "20.08.20:", desc: "Add support for self-signed CA certs." }
38
- { date: "20.02.20:", desc: "Switch to python3." }
39
- { date: "19.12.19:", desc: "Rebasing to alpine 3.11." }
40
- { date: "01.07.19:", desc: "Fall back to base64 encoding when basic http auth is used." }
root/app/nginx-ldap-auth-daemon.py
@@ -214,6 +214,8 @@ def do_GET(self):
214
self.log_message('LDAP baseDN is not set!')
215
return
216
217
+ ldap.set_option(ldap.OPT_X_TLS_REQUIRE_CERT, ldap.OPT_X_TLS_ALLOW)
218
+
219
ctx['action'] = 'initializing LDAP connection'
220
ldap_obj = ldap.initialize(ctx['url']);
221
0 commit comments