Hi guys I am having a problem adding new AD servers to nagios.
The service account that is used to import users works on the old domain, but not on the new.
Also when I go to admin/manage users and change my personal account from the old domain and point it to the new and try to log into nagios I get an error stating :
When I try to use the service account I get this error:
and finally I believe that I have configured the new servers correctly:
problem authenticating with AD integration
problem authenticating with AD integration
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: problem authenticating with AD integration
Hi Ben,
Let's turn on debugging, try authenticating again post the Apache logs so we can get a better understanding of what's happening.
To enable debugging.
1. Open the file in vi by executing the following command:
2. Make the change as per the following example:
3. Tail the log
Reference: Active Directory / LDAP - Troubleshooting Authentication Integration
Let's turn on debugging, try authenticating again post the Apache logs so we can get a better understanding of what's happening.
To enable debugging.
1. Open the file in vi by executing the following command:
Code: Select all
/usr/local/nagiosxi/html/includes/components/ldap_ad_integration/ldap_ad_integration.inc.phpCode: Select all
function create_auth_conn_obj($server_id='')
{
ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, 7);
// Get our settings
Code: Select all
tail -f /var/log/httpd/error_log /var/log/httpd/ssl_error_logAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: problem authenticating with AD integration
Hey fellas I'm not seeing the option in the file. Ive included a copy of my file. Also, I changed the cert I was using but now I get a different error:
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: problem authenticating with AD integration
Which version of XI is this one?
There was a recent bugfix that could be related to this.
Please enable debug logging by following this KB article:
- You will need to add that line, it doesn't exist
https://support.nagios.com/kb/article/a ... n-600.html
Then run this tail command (use this one instead of the guide and leave it running):
Then try to authenticate again and send me the entire output of the tail command above so that I can see what is occurring.
There was a recent bugfix that could be related to this.
Please enable debug logging by following this KB article:
- You will need to add that line, it doesn't exist
https://support.nagios.com/kb/article/a ... n-600.html
Then run this tail command (use this one instead of the guide and leave it running):
Code: Select all
tail -Fn0 /var/log/httpd/error_log /var/log/httpd/ssl_error_logRe: problem authenticating with AD integration
we are running version Nagios XI 5.4.12 . Ill run the commands you suggested and get back to you.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: problem authenticating with AD integration
Please see followup PM requesting additional info, this looks like a cert issue now.