Guest User

Authelia - LLDAP

a guest
Dec 19th, 2023
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. authentication_backend:
  2. # Password reset through authelia works normally.
  3. password_reset:
  4. disable: false
  5. # How often authelia should check if there is an user update in LDAP
  6. refresh_interval: 1m
  7. ldap:
  8. implementation: custom
  9. # Pattern is ldap://HOSTNAME-OR-IP:PORT
  10. # Normal ldap port is 389, standard in LLDAP is 3890
  11. url: ldap://{{ auth_ldap_ip.stdout }}:3890
  12. # The dial timeout for LDAP.
  13. timeout: 5s
  14. # Use StartTLS with the LDAP connection, TLS not supported right now
  15. start_tls: false
  16. #tls:
  17. # skip_verify: false
  18. # minimum_version: TLS1.2
  19. # Set base dn, like dc=google,dc.com
  20. base_dn: dc=example,dc=org
  21. username_attribute: uid
  22. # You need to set this to ou=people, because all users are stored in this ou!
  23. additional_users_dn: ou=people
  24. # To allow sign in both with username and email, one can use a filter like
  25. # (&(|({username_attribute}={input})({mail_attribute}={input}))(objectClass=person))
  26. users_filter: "(&({username_attribute}={input})(objectClass=person))"
  27. # Set this to ou=groups, because all groups are stored in this ou
  28. additional_groups_dn: ou=groups
  29. # Only this filter is supported right now
  30. groups_filter: "(member={dn})"
  31. # The attribute holding the name of the group.
  32. group_name_attribute: cn
  33. # Email attribute
  34. mail_attribute: mail
  35. # The attribute holding the display name of the user. This will be used to greet an authenticated user.
  36. display_name_attribute: displayName
  37. # The username and password of the admin user.
  38. # "admin" should be the admin username you set in the LLDAP configuration
  39. user: uid=admin,ou=people,dc=example,dc=org
  40. # Password can also be set using a secret: https://www.authelia.com/docs/configuration/secrets.html
  41. password: "{{ LLDAP_LDAP_USER_PASS }}"
Advertisement
Add Comment
Please, Sign In to add comment