Nagios XI - Unable to bind to server: Can't contact LDAP

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
anantwgupta
Posts: 1
Joined: Thu Jan 05, 2017 2:33 am

Nagios XI - Unable to bind to server: Can't contact LDAP

Post by anantwgupta »

I have a Nagios XI installed in centos server and we have performed an AD migration from one server to the other i.e. from one vendor to other. So overall from nagios XI persepctive there is just a chnage in AD server with a change in IP only.

Now I am able to integrate Nagios with correct AD settings, buts its very slow while logging to the application.

[Fri Aug 25 08:20:33 2017] [error] [client 10.96.55.74] PHP Warning: ldap_bind(): Unable to bind to server: Can't contact LDAP server in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/adLDAP/src/adLDAP.php on line 714, referer: http://monitoring.konecranes.com/nagios ... f&noauth=1


Line 714 looks like:-

// Bind as the user
$ret = false;
$this->ldapBind = ldap_bind($this->ldapConnection, $username . $this->accountSuffix, $password); /// line 714
if ($this->ldapBind){
$ret = true;
}

I am not able to get anything. Can someone help me.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios XI - Unable to bind to server: Can't contact LDAP

Post by cdienger »

Can the XI server ping the new AD server? Is the AD server listed by name or IP under Admin > users > LDAP/AD Integration? If by name can the name be resolved to the correct IP from the XI command line? Is there an entry for the AD server in /etc/hosts? If the IP address changed there could be new routes or firewalls that may be preventing the traffic from XI to AD.

Try:

Code: Select all

ping ad_hostname
ping ad_ip_addr

telnet ad_ip_addr 389 (or 636 depending on AD settings)

traceroute ad_ip_addr
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked