zabbix对接ldaps
时间: 2023-07-07 15:14:31 浏览: 33
要在Zabbix中对接LDAPS,需要进行以下步骤:
1. 确认Zabbix Server的操作系统中已经安装了OpenLDAP客户端工具。
2. 在Zabbix Server的配置文件zabbix_server.conf中,设置以下参数:
```
TLSConnect ldaps
TLSAccept unsecured
TLSCAFile /path/to/ca-certificates.crt
TLSReqCert demand
TLSVerifyClient never
```
其中,`TLSCAFile`是指LDAP服务器的证书,需要将其替换为实际的证书路径。
3. 在Zabbix Server的Web界面中,配置LDAP认证。在“Administration” -> “Users” -> “Authentication” -> “LDAP”中,设置以下参数:
```
LDAP URI: ldaps://ldap.example.com:636/
Base DN: dc=example,dc=com
Bind DN: cn=admin,dc=example,dc=com
Bind Password: ********
Search Filter: (sAMAccountName={0})
```
其中,`LDAP URI`是指LDAP服务器的地址和端口号,`Base DN`是指LDAP服务器的根目录,`Bind DN`是指LDAP管理员的账号,`Search Filter`是指查询用户的过滤条件。
4. 重启Zabbix Server服务。
完成以上步骤后,Zabbix Server就可以通过LDAPS连接到LDAP服务器进行认证了。
相关推荐















