-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ldap.toml
37 lines (32 loc) · 1.03 KB
/
ldap.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# GitLab Active Directory (replace with yours)
[[servers]]
host = "domain-controller.heyvaldemar.net"
port = 389
use_ssl = false
start_tls = false
ssl_skip_verify = false
bind_dn = "[email protected]"
bind_password = 'YourPassword'
search_filter = "(sAMAccountName=%s)"
search_base_dns = ["OU=Users,DC=heyvaldemar,DC=net"]
[servers.attributes]
name = "givenName"
surname = "sn"
username = "sAMAccountName"
member_of = "memberOf"
email = "mail"
# Active Directory group for Grafana administrators (replace with yours)
[[servers.group_mappings]]
group_dn = "CN=Grafana-Admin,OU=Groups,DC=heyvaldemar,DC=net"
org_role = "Admin"
# Active Directory group for Grafana editors (replace with yours)
[[servers.group_mappings]]
group_dn = "CN=Grafana-Editor,OU=Groups,DC=heyvaldemar,DC=net"
org_role = "Editor"
# Active Directory group for Grafana viewers (replace with yours)
[[servers.group_mappings]]
group_dn = "CN=Grafana-Viewer,OU=Groups,DC=heyvaldemar,DC=net"
org_role = "Viewer"
[[servers.group_mappings]]
group_dn = "*"
org_role = "Viewer"