Page 1 of 1

ldap authentication problem

Posted: Wed Jun 13, 2012 1:12 pm
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

Re: ldap authentication problem

Posted: Wed Jun 13, 2012 2:19 pm
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.