local_ldap.py 836 B

12345678910111213141516171819202122
  1. # overrides
  2. PUBLIC_REGISTER_ENABLED = False
  3. INSTALLED_APPS += ["taiga_contrib_ldap_auth"]
  4. LDAP_SERVER = "ldap://##LDAP_SERVER##"
  5. LDAP_PORT = ##LDAP_PORT##
  6. # Full DN of the service account use to connect to LDAP server and search for login user's account entry
  7. # If LDAP_BIND_DN is not specified, or is blank, then an anonymous bind is attempated
  8. LDAP_BIND_DN = ""
  9. LDAP_BIND_PASSWORD = ""
  10. # Starting point within LDAP structure to search for login user
  11. LDAP_SEARCH_BASE = "##LDAP_USERS_BASE_DN##"
  12. # LDAP property used for searching, ie. login username needs to match value in sAMAccountName property in LDAP
  13. LDAP_SEARCH_PROPERTY = "sAMAccountName"
  14. # LDAP_SEARCH_SUFFIX = None # '@example.com'
  15. # Names of LDAP properties on user account to get email and full name
  16. LDAP_EMAIL_PROPERTY = "mail"
  17. LDAP_FULL_NAME_PROPERTY = "displayname"