Thanks Marcus
AD Authentication Not Working
AD Authentication Not Working
We switched over to AD authentication and for the most part, it was a smooth transition on 3 of the 4 NagiosXI systems. I have one problem child that I have not been able to get to work after updating the component. I did not find any errors in the access_log or messages. When I have my network team to trace the data, it appears this particular system makes no attempt to reach the AD server and we have confirmed the network path. Any recommendations for things to check would be appreciated.
Thanks Marcus
Thanks Marcus
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: AD Authentication Not Working
To be clear what version of the component are you using?
Also, are you using AD certificates?
http://assets.nagios.com/downloads/nagi ... ponent.pdf
If using hostnames vs. IP's can the problem child resolve the hostname properly?
Also, are you using AD certificates?
http://assets.nagios.com/downloads/nagi ... ponent.pdf
If using hostnames vs. IP's can the problem child resolve the hostname properly?
Re: AD Authentication Not Working
The component version is 0.3. We are not using AD certificates at this time, and the AD domain controllers are identified via IPs.
Re: AD Authentication Not Working
Some additional information. I added configuration manually to /etc/httpd/conf.d/nagiosxi.conf to force it to authenticate with AD as a test and it worked successfully. So our network and AD servers work appropriately. I returned the configuration back to normal and my problem returns. So my problem appears to be within my nagios server.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: AD Authentication Not Working
Can we verify this server has php-ldap
Code: Select all
yum list installed|grep php-ldapRe: AD Authentication Not Working
yum list installed|grep php-ldap
php-ldap.x86_64 5.3.3-27.el6_5 @updates
php-ldap.x86_64 5.3.3-27.el6_5 @updates
Re: AD Authentication Not Working
Are there any differences between the working and non-working servers that you can think of?
Former Nagios employee
Re: AD Authentication Not Working
Fortunately, this is primarily my DR server, and a close replica of my main nagios server with the exception of a smaller memory and disk foot print. I've been comparing config files and everything seems to be identical to my main nagios server which works.
Re: AD Authentication Not Working
Could you provide this file so we can review it?I added configuration manually to /etc/httpd/conf.d/nagiosxi.conf to force it to authenticate with AD as a test and it worked successfully.
Could you run the following after changing the server to use AD Authentication and post the output back to the forum?
Code: Select all
tail --lines=200 /var/log/httpd/error_log
tail --lines=200 /var/log/httpd/ssl_error_logBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: AD Authentication Not Working
Ok.
nagiosxi.conf file
nagiosxi.conf file
You do not have the required permissions to view the files attached to this post.