Skip to content

Commit

Permalink
document LDAP_BIND_TYPE in config_template.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Maysara Abdulhaq authored and root committed Sep 3, 2017
1 parent 28c7a19 commit 18df0ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
# 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'
Expand Down

0 comments on commit 18df0ce

Please sign in to comment.