ldap authentication problem

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bruno.rossi
Posts: 3
Joined: Tue Jun 12, 2012 6:42 am

ldap authentication problem

Post by bruno.rossi »

Good Afternoon

I've problem to authenticate my nagiosxi with ldap server.
More information:

;Both are linux SO. ( centos )
;Alread installed ldap components.
;rpm -qa |grep php
php-mysql-5.3.3-3.el6_2.8.i686
php-ldap-5.3.3-3.el6_2.8.i686
Ldap Authentication Information:
enable
ldap hots: 192.168.1.10
port: 389
base dn: dc=empresa,dc=com
userdn: cn=[USERNAME],dc=empresa,dc=com and already tested cn=[USERNAME],cn=manager,dc=empresa,dc=com ( manager has full control in ldap sever ). One question here is where I can put the manager password?

Problem:
When I try loggin with ldap credencials I receive this information:

[Wed Jun 13 11:29:28 2012] [error] [client 192.168.219.131] PHP Warning: ldap_bind(): Unable to bind to server: Invalid credentials in /usr/local/nagiosxi/html/includes/components/ldapauth/ldapauth.inc.php on line 270, referer: http://192.168.219.131/nagiosxi/login.php

If I change anything on Ldap Authentication Information, I receive the same information.

Can you help me?
Thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: ldap authentication problem

Post by scottwilkerson »

Where you see [USERNAME], this should be left as [USERNAME] and is replaced with the username and the password of the user trying to login.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked