linux – 如何允许Active Directory经过身份验证的用户使用Nagios Web界面?

我已将.htaccess文件放在Nagios html根目录和CGI根目录中,因此为了访问Web界面,用户需要一个有效的Active Directory帐户.

我遇到的问题是在/etc/nagios/cgi.cfg中说的

use_authentication=1

authorized_for_system_information=nagiosadmin
authorized_for_configuration_information=nagiosadmin
authorized_for_system_commands=nagiosadmin
authorized_for_all_services=nagiosadmin
authorized_for_all_hosts=nagiosadmin
authorized_for_all_service_commands=nagiosadmin
authorized_for_all_host_commands=nagiosadmin

设置use_authentication = 0“解决”问题,但我已阅读

Also,disabling authentication causes all sorts of things to not work
because the programmers don’t want to be responsible for what happens
It’s best to use authentication and then set it up correctly

相关文章

Linux中的ARP防火墙主要用于防御ARP欺骗攻击,其效果取决于多...
insmod和modprobe加-f参数导致Invalid module format错误 这...
将ArchLinux安装到U盘 几个月前入门Arch的时候上网搜了不少安...
1、安装Apache。 1)执行如下命令,安装Apache服务及其扩展包...
一、先说一下用ansible批量采集机器信息的实现办法: 1、先把...
安装配置 1. 安装vsftpd 检查是否安装了vsftpd # rpm -qa | ...