1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ergo_ynh.git synced 2024-09-03 18:26:31 +02:00
ergo_ynh/conf/ldap-config.yaml

37 lines
1.4 KiB
YAML
Raw Normal View History

2022-04-18 11:09:01 +02:00
# this is an example config for the ergo-ldap plugin.
# consult the grafana docs for details on how to configure this:
# https://grafana.com/docs/grafana/latest/auth/ldap/
# XXX: where grafana uses underscores in key names, we use hyphens
# example configuration that works with Forum Systems's testing server:
# https://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server/
2022-04-18 11:15:21 +02:00
host: "ldap://127.0.0.1"
2022-04-18 11:09:01 +02:00
port: 389
timeout: 30s
# uncomment for TLS:
# use-ssl: true
# example "single-bind" configuration, where we bind directly to the user's entry:
2022-04-18 11:15:21 +02:00
bind-dn: "ou=users,dc=yunohost,dc=org"
2022-04-18 11:09:01 +02:00
# example "admin bind" configuration, where we bind to an initial admin user,
# then search for the user's entry with a search filter:
#search-base-dns:
# - "dc=example,dc=com"
#bind-dn: "cn=read-only-admin,dc=example,dc=com"
#bind-password: "password"
#search-filter: "(uid=%s)"
# example of requiring that users be in a particular group
# (note that this is an OR over the listed groups, not an AND):
#require-groups:
# - "ou=mathematicians,dc=example,dc=com"
#group-search-filter-user-attribute: "dn"
#group-search-filter: "(uniqueMember=%s)"
#group-search-base-dns:
# - "dc=example,dc=com"
# example of group membership testing via user attributes, as in AD
# or with OpenLDAP's "memberOf overlay" (overrides group-search-filter):
# attributes:
# member-of: "memberOf"