From 18df0ce4c9b9cd72e8419f487f657af727efc781 Mon Sep 17 00:00:00 2001 From: Maysara Abdulhaq Date: Sun, 3 Sep 2017 14:31:50 -0400 Subject: [PATCH] document LDAP_BIND_TYPE in config_template.py --- config_template.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config_template.py b/config_template.py index 0775840..02b3ecb 100644 --- a/config_template.py +++ b/config_template.py @@ -38,6 +38,9 @@ SQLALCHEMY_TRACK_MODIFICATIONS = True # LDAP CONFIG LDAP_TYPE = 'ldap' LDAP_URI = 'ldaps://your-ldap-server:636' +# with LDAP_BIND_TYPE you can specify 'direct' or 'search' to use user credentials +# for binding or a predefined LDAP_USERNAME and LDAP_PASSWORD, binding with non-DN only works with AD +LDAP_BIND_TYPE= 'direct' # direct or search LDAP_USERNAME = 'cn=dnsuser,ou=users,ou=services,dc=duykhanh,dc=me' LDAP_PASSWORD = 'dnsuser' LDAP_SEARCH_BASE = 'ou=System Admins,ou=People,dc=duykhanh,dc=me'