1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- # --- First LDAP Server ---
- [[servers]]
- host = "10.0.0.1"
- port = 389
- use_ssl = false
- start_tls = false
- ssl_skip_verify = false
- bind_dn = "cn=admin,dc=grafana,dc=org"
- bind_password = 'grafana'
- search_filter = "(cn=%s)"
- search_base_dns = ["ou=users,dc=grafana,dc=org"]
- [servers.attributes]
- name = "givenName"
- surname = "sn"
- username = "cn"
- member_of = "memberOf"
- email = "email"
- [[servers.group_mappings]]
- group_dn = "cn=admins,ou=groups,dc=grafana,dc=org"
- org_role = "Admin"
- grafana_admin = true
- # --- Second LDAP Server ---
- [[servers]]
- host = "10.0.0.2"
- port = 389
- use_ssl = false
- start_tls = false
- ssl_skip_verify = false
- bind_dn = "cn=admin,dc=grafana,dc=org"
- bind_password = 'grafana'
- search_filter = "(cn=%s)"
- search_base_dns = ["ou=users,dc=grafana,dc=org"]
- [servers.attributes]
- name = "givenName"
- surname = "sn"
- username = "cn"
- member_of = "memberOf"
- email = "email"
- [[servers.group_mappings]]
- group_dn = "cn=editors,ou=groups,dc=grafana,dc=org"
- org_role = "Editor"
- [[servers.group_mappings]]
- group_dn = "*"
- org_role = "Viewer"
|