Nagios Giving 500 Server error after ldap integration
Posted: Mon Jan 04, 2016 3:15 pm
Hello,
I am having an issue authenticating with Nagios after setting up ldap. I was hoping that some one could help me out.
/etc/httpd/conf.d/nagios
I do have ssl enabled on this server.
Please let me know if you need anything else.
Thanks for your help.
I am having an issue authenticating with Nagios after setting up ldap. I was hoping that some one could help me out.
/etc/httpd/conf.d/nagios
Code: Select all
# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
#
# This file contains examples of entries that need
# to be incorporated into your Apache web server
# configuration file. Customize the paths, etc. as
# needed to fit your system.
ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
<Directory "/usr/local/nagios/sbin">
SSLRequireSSL
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
# AuthName "Nagios Access"
# AuthType Basic
# AuthUserFile /usr/local/nagios/etc/htpasswd.users
Options FollowSymLinks
AuthBasicProvider ldap
AuthType Basic
AuthName "Active Directory Login"
AuthLDAPURL "ldap://10.2.70.10:3268/DC=dc,DC=Internal?sAMAccountName?sub" NONE
AuthLDAPBindDN "[email protected]"
AuthLDAPBindPassword pass
Require valid-user
</Directory>
Alias /nagios "/usr/local/nagios/share"
<Directory "/usr/local/nagios/share">
SSLRequireSSL
Options None
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
# AuthName "Nagios Access"
# AuthType Basic
# AuthUserFile /usr/local/nagios/etc/htpasswd.users
Options FollowSymLinks
AuthBasicProvider ldap
AuthType Basic
AuthName "Active Directory Login"
AuthLDAPURL "ldap://10.2.70.10:3268/DC=dc,DC=Internal?sAMAccountName?sub" NONE
AuthLDAPBindDN "[email protected]"
AuthLDAPBindPassword pass
Require valid-user
</Directory>
Please let me know if you need anything else.
Thanks for your help.