Page 1 of 1

LDAP Component

Posted: Tue Mar 29, 2011 8:37 am
by jpipitone
I've configured our LDAP component, and modified the UserDN to point to a particular IT OU in Active Directory.

My php_error log shows that the ldap component says the following:

Code: Select all

Unable to bind to server: Invalid credentials in /usr/local/nagiosxi/html/includes/components/ldapauth/ldapauth.inc.php on line 270
I couldn't find any docs for the LDAP component, so I'm unsure as far as how to pass a password to our DC's in order to authenticate properly.

Here's what the config looks like:

BaseDN:

Code: Select all

OU=Users,OU=IT,DC=domain,DC=com
UserDN:

Code: Select all

CN=[USERNAME],CN=Users,DC=domain,DC=com
Joe

-Linux Distribution and version:
32 bit CentOS

-Manual Install of XI

- No SSL

Re: LDAP Component

Posted: Tue Mar 29, 2011 10:17 am
by rdedon
This may be an issue with php-ldap not being installed as I saw a similar (albeit not password related) issue here:

http://support.nagios.com/forum/viewtop ... f=6&t=1939

Re: LDAP Component

Posted: Tue Mar 29, 2011 10:43 am
by jpipitone
I have php-ldap installed

Re: LDAP Component

Posted: Tue Mar 29, 2011 10:51 am
by tonyyarusso
We've had some people report that sometimes the LDAP Component will not work while the AD one does, and vice versa. Would you mind humouring me and giving this one a try? http://exchange.nagios.org/directory/Ad ... XI/details

Re: LDAP Component

Posted: Tue Mar 29, 2011 11:14 am
by jpipitone
That one works great! Only drawback is that the account has to have already been created in NagiosXI.

thank you

Re: LDAP Component

Posted: Tue Mar 29, 2011 11:25 am
by tonyyarusso
Excellent! Yeah, one of these days I want to make it able to automatically create accounts and some other fancy stuff, but that will have to wait for a few other things to be finished first.

Re: LDAP Component

Posted: Tue Mar 29, 2011 11:49 am
by jpipitone
This solution works out perfectly for us, we'd rather keep it somewhat locked down rather than just letting anyone log in within our company - thank you!

Joe

Re: LDAP Component

Posted: Tue Mar 29, 2011 12:07 pm
by rdedon
Excellent! Just post again if you have any issues or questions. :-)

Re: LDAP Component

Posted: Tue Apr 12, 2011 11:28 am
by awoodewh
Is it correct that it does not work with the Core Configuration Manager. It would log into the inital NagiosXI login, but not CCM (for me).

Re: LDAP Component

Posted: Tue Apr 12, 2011 11:35 am
by tonyyarusso
I believe that is a known issue, yes. We'd like to extend the functionality of these components at some point, but don't have a particular timeline for those sorts of things.