当前位置:网站首页>grafana docks local ldap
grafana docks local ldap
2022-08-09 20:44:00 【xhweng】
grafanaConnect to the local domain controller
编辑grafana.ini配置
修改下方auth.ldap配置
[auth.ldap]
enabled = true
config_file = /etc/grafana/ldap.toml
allow_sign_up = true
编辑ldap.toml
host:It is designated for youldap服务器,可以指定多个,需要分隔符.
port:你的ldapThe port on which the server is listening.
bind_dn: you need specificou的管理员账号,I'm using Domain Manager here.
bind_password: 上面账号的密码.
search_filter: Filter expression for user search,配合search_base_dns.
search_base_dns: 用户搜索的范围,这里在people这个ouSearch all users inside,需要配合search_filterto complete user filtering.
group_search_filter: Filter expression for group search,配合group_search_base_dns.
group_search_base_dns: Specifies the scope of the group search,我们的grafana这个ou里面设置了3个组.
servers.attributes: This is mainly for the user to obtain a specific extracted user entry with a specific field of extraction, usernameTake the specific field value from the queried user information asgrafana的用户名,
member_of 代表,根据group_search_base_dns和group_search_filter After getting a specific group,Take that field as the group name. The obtained result needs to be consistent with the following mapping.
emailRepresents a specific usermail字段作为grafana用户的email信息.
servers_group_mappings: This is for definitionldap用户组和grafanaMapping of role groups, 上面member_of ,group_search_base_dns和group_search_filter These three conditions can be obtainedldap的组名,This must be consistent with the three conditions obtained.
重启服务
systemctl restart grafana-server
边栏推荐
猜你喜欢
随机推荐
win10 uwp 活动磁贴
win10 uwp 获取指定的文件 AQS
IMX6ULL—Assembly LED Lights
kakka rebalance解决方案
Cortex-A7 MPCore 架构
Li Yuanyuan: iMetaLab Suite metaproteomics data analysis and visualization (video + PPT)
loadrunner脚本--参数化
从功能测试到自动化测试你都知道他们的有缺点吗?
win10 uwp 获取按钮鼠标左键按下
ARM 汇编基础
win10 uwp 模拟网页输入
YOLO v3源码详解
动态RDLC报表(四)
Linux上给PHP安装redis扩展
C语言知识补充
动态RDLC报表(二)
IMX6ULL—汇编LED灯
01 -- 钉钉机器人
2022 全球 AI 模型周报
LeetCode做题小结