ldap_bind_dn.conf.example 719 B

1234567891011121314151617181920212223242526272829
  1. # This is an example of LDAP (BindDN) authentication
  2. #
  3. id = 101
  4. type = ldap_bind_dn
  5. name = LDAP BindDN
  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 = ou=Users,dc=mydomain,dc=com
  16. attribute_username =
  17. attribute_name =
  18. attribute_surname =
  19. attribute_mail = mail
  20. attributes_in_bind = false
  21. filter = (&(objectClass=posixAccount)(cn=%s))
  22. admin_filter =
  23. group_enabled = false
  24. group_dn =
  25. group_filter =
  26. group_member_uid =
  27. user_uid =