当前位置:网站首页>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
边栏推荐
猜你喜欢

一些自动化测试01
读大学有用吗?

Detailed explanation of JVM memory model and structure (five model diagrams)

Metasploit——辅助模块(Auxiliary)

How to play with container local storage through open-local? | Dragon Lizard Technology

字节二面,差点倒在了MySQL上面

Flink on Yarn

qq机器人账号不能发送群消息,被风控

每周给我10分钟,我给你一个Flink SQL 菜谱——甜点:数据过滤

2022秋招面试宝典,啃完面试稳了
随机推荐
对数学直观、感性的认知是理解数学、喜爱数学的必经之路,这本书做到了!
史上最全架构师知识图谱(纯干货)
web正则表达式中^和$的含义是什么
50道Redis面试题,来看看你会多少?
C的一些琐碎
MySQL数据指令
AWK使用
说了半天跨平台,今儿咱就来跨跨!(完结篇)——Kubenetes上手实践
win10 uwp 改变鼠标
进程的两种创建方式,join方法,进程间的数据隔离,队列,进程间的通信IPC机制,生产者消费者模型,守护进程,僵尸进程,孤儿进程,互斥锁
动态RDLC报表(二)
Unix domain socket
win10 uwp 设置启动窗口大小 获取窗口大小
不是吧,连公司里的卷王写代码都复制粘贴,这合理?
01 -- 钉钉机器人
没有 accept,建立 TCP 连接,可以吗?
ARM 汇编基础
jmeter-录制脚本
SSM框架练手项目,高企必备的管理系统—CRM管理系统
uniapp 实现底部导航栏tabbar