I've been struggling to set up Nagios Core to authenticate Active Directory users for the web interface on a CentOS machine running httpd 2.4.6. In the file /etc/httpd/conf.d/nagios.conf, I have replaced every instance of
Code: Select all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
Code: Select all
AuthBasicProvider ldap
AuthType Basic
AuthName "Active Directory Login"
AuthLDAPURL "[URL]" NONE
AuthLDAPBindDN "[Username@domain]"
AuthLDAPBindPassword [Password]
Require valid-user
I suspect that I'm just doing something wrong with Apache, but I figured I'd ask here in case I'm missing something in the nagios.conf file.
Thank you very much.