LDAP Integration
LDAP Integration
I'm running an eval install of the latest version of Nagios XI (2.4) and have been trying to incorporate LDAP authentication for defined users. Unfortunately, I'm not getting very far with this.
I created a user with a specific nagios xi password. I then configured the LDAP integration screen with the appropriate information for our environment. Finally, I checked the LDAP Enabled box. When I try to log in as that user, all I get is a blank screen (no error message). When monitoring network traffic, I don't see any communication between nagios xi and the LDAP server.
Do I need to do something else to enable LDAP?
Thanks,
Bill Douglass
AISD
I created a user with a specific nagios xi password. I then configured the LDAP integration screen with the appropriate information for our environment. Finally, I checked the LDAP Enabled box. When I try to log in as that user, all I get is a blank screen (no error message). When monitoring network traffic, I don't see any communication between nagios xi and the LDAP server.
Do I need to do something else to enable LDAP?
Thanks,
Bill Douglass
AISD
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: LDAP Integration
We have 2 different components for this, one is called "LDAP Authentication", the other is called "Active Directory Integration"
Which are you using? SSL or not?
Which are you using? SSL or not?
Re: LDAP Integration
I'm using the LDAP Authentication component. Non-SSL (port 389).
Bill Douglass
AISD
Bill Douglass
AISD
Re: LDAP Integration
Are you using the LDAP Auth manager component?
assets.nagios.com/downloads/nagiosxi/components/ldapauth.zip
Be sure to define LDAP host using ldaps://
For example:
LDAP Host: ldaps://someldap.server.com
assets.nagios.com/downloads/nagiosxi/components/ldapauth.zip
Be sure to define LDAP host using ldaps://
For example:
LDAP Host: ldaps://someldap.server.com
Re: LDAP Integration
I updated the config so the servername reads ldaps://servername.domain.org, and applied the config. Still no luck with logging in, and I still don't see any traffic on either port 389 or 636.
Bill Douglass
AISD
Bill Douglass
AISD
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: LDAP Integration
actually if you are using Non-SSL you should just have the hostname in there.bdouglass wrote:I'm using the LDAP Authentication component. Non-SSL (port 389).
Bill Douglass
AISD
If you are seeing NO traffic on port 389, you should look into possible firewall blocking.
Can you telnet from you XI server to the ldap server on port 389
Code: Select all
telnet servername.domain.org 389Code: Select all
nc -vz servername.domain.org 389Re: LDAP Integration
Yes, I can telnet to the host LDAP port. I'm also doing several checks on the server, so I don't think a firewall is the issue. I've tried both SSL and plain LDAP.
This is on the virtual machine image d/l from the Nagios XI site, so it's a pretty standard setup. The main change is configuring the web interface for SSL.
I've attached the system profile below.
Thanks,
Bill Douglass
AISD
This is on the virtual machine image d/l from the Nagios XI site, so it's a pretty standard setup. The main change is configuring the web interface for SSL.
I've attached the system profile below.
Thanks,
Bill Douglass
AISD
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: LDAP Integration
Can you check the httpd error_log to see if you are getting any errors therebdouglass wrote:all I get is a blank screen (no error message).
Code: Select all
tail -f /var/log/httpd/error_logRe: LDAP Integration
Yes, there are multiple occurrences of the following error:
PHP Fatal error: Call to undefined function ldap_connect() in /usr/local/nagiosxi/html/includes/components/ldapauth/ldapauth.inc.php on line 256, referer: https://nagiosxi.austinisd.org/nagiosxi ... php?logout
Do I need to reinstall something?
Bill Douglass
AISD
PHP Fatal error: Call to undefined function ldap_connect() in /usr/local/nagiosxi/html/includes/components/ldapauth/ldapauth.inc.php on line 256, referer: https://nagiosxi.austinisd.org/nagiosxi ... php?logout
Do I need to reinstall something?
Bill Douglass
AISD
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: LDAP Integration
Look in your /etc/php.ini and verify you have the following, and uncommented
If you had to change it, you need to restart apache
Code: Select all
extension=php_ldap.dllCode: Select all
service httpd restart