当前位置:网站首页>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
边栏推荐
猜你喜欢
使用mysql:5.6和 owncloud 镜像,构建一个个人网盘
What platform is EPIC?
Volatile: JVM I warn you, my people don't move
没有 accept,建立 TCP 连接,可以吗?
动手学深度学习_全卷积网络 FCN
基于AWS构建云上数仓第一步:云平台的基础概念
VIT transformer详解
李乐园:iMetaLab Suite宏蛋白质组学数据分析与可视化(视频+PPT)
对数学直观、感性的认知是理解数学、喜爱数学的必经之路,这本书做到了!
uniapp中使用网页录音并上传声音文件(发语音)——js-audio-recorder的使用【伸手党福利】
随机推荐
shell脚本基础语句使用(一)
5.3.6 原子操作对非原子的操作排序
李乐园:iMetaLab Suite宏蛋白质组学数据分析与可视化(视频+PPT)
Go-Excelize API源码阅读(五)—— Close()
win10 uwp 让焦点在点击在页面空白处时回到textbox中
fastdfs-client使用
混动产品助力,自主SUV市场格局迎来新篇章
从功能测试到自动化测试你都知道他们的有缺点吗?
动态RDLC报表(七)
史上最全架构师知识图谱(纯干货)
Engaged in software testing for a year, only basic functional testing, how to further study?
ARM Assembly Basics
毕昇编译器优化:Lazy Code Motion
秋招面试大厂总被刷下来,你这样做保准你事半功倍!
进行知识管理的好处有哪些?
毕昇编译器优化:Lazy Code Motion
软件设计的七大原则
Ark Standalone/Administrator Special Item Command Codes
ARM 汇编基础
阿里云张新涛:支持沉浸式体验应用快速落地,阿里云云XR平台发布