LDAP Component

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jpipitone
Posts: 102
Joined: Tue Oct 12, 2010 1:21 pm

LDAP Component

Post 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
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: LDAP Component

Post 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
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
jpipitone
Posts: 102
Joined: Tue Oct 12, 2010 1:21 pm

Re: LDAP Component

Post by jpipitone »

I have php-ldap installed
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: LDAP Component

Post 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
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
jpipitone
Posts: 102
Joined: Tue Oct 12, 2010 1:21 pm

Re: LDAP Component

Post by jpipitone »

That one works great! Only drawback is that the account has to have already been created in NagiosXI.

thank you
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: LDAP Component

Post 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.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
jpipitone
Posts: 102
Joined: Tue Oct 12, 2010 1:21 pm

Re: LDAP Component

Post 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
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: LDAP Component

Post by rdedon »

Excellent! Just post again if you have any issues or questions. :-)
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
awoodewh
Posts: 32
Joined: Fri Nov 05, 2010 3:28 pm

Re: LDAP Component

Post 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).
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: LDAP Component

Post 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.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked