2
0

ldap_simple_auth.conf.example 761 B

123456789101112131415161718192021222324252627282930
  1. # This is an example of LDAP (simple auth) authentication
  2. #
  3. id = 102
  4. type = ldap_simple_auth
  5. name = LDAP Simple Auth
  6. is_activated = true
  7. [config]
  8. host = mydomain.com
  9. port = 636
  10. # 0 - Unencrypted, 1 - LDAPS, 2 - StartTLS
  11. security_protocol = 0
  12. skip_verify = false
  13. bind_dn =
  14. bind_password =
  15. user_base =
  16. user_dn = cn=%s,ou=Users,dc=mydomain,dc=com
  17. attribute_username =
  18. attribute_name =
  19. attribute_surname =
  20. attribute_mail = mail
  21. attributes_in_bind = false
  22. filter = (&(objectClass=posixAccount)(cn=%s))
  23. admin_filter =
  24. group_enabled = false
  25. group_dn =
  26. group_filter =
  27. group_member_uid =
  28. user_uid =