LDAP Import Problems

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
trea
Posts: 6
Joined: Thu Dec 06, 2018 2:16 pm

LDAP Import Problems

Post by trea »

We're having some difficulties getting LDAP/AD Integration working with NagiosXI, so let me try and describe what we're experiencing:

We have 3 different LDAP environments to potentially authenticate against (don't ask): 2 are openldap, 1 is Active Directory (again, don't ask).

I have attempted to get all 3 up and working, but the problem with all of them seems to be basically the same:

I have verified all connection info with respect to baseDN/security type/certificates.
I can successfully use this information to run ldapsearch on the command line to walk the OU and get results, as well as in Apache Directory Studio.
I can use samesaid privileged user account credentials to auth against the LDAP server.

After authenticating, when you are on the Select Users to Import page, I can only see a few OUs in the entire tree, I cannot select any of them, and they aren't any of the OUs where users are located.

All of the LDAP/AD systems have well over 1000 users, which at a guess is what is the problem here. (one of these is a legacy system with over 35k users).

It is extremely unlikely that I will be able to convince corp to increase the MaxPageSize setting beyond the 1000 default. If there is an OpenLDAP equivalent to this it is also unlikely that will be changed, because $REASONS.

I've enclosed logs/information for only 1 ldap instance, as it is the most likely server we will be importing against.

Help me Obi-Wan, you're my only hope.
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: LDAP Import Problems

Post by ssax »

How many XI users are you going to have? As a workaround you can manually create the users, select the Auth Type, select the Auth Server, and then type in their full DN in the User's Full DN field. Save the user and try logging in with them.

Please PM me a screenshot of your auth server settings under Admin > LDAP / AD Integration (make sure to click the edit button first so that I can see all of the details).
trea
Posts: 6
Joined: Thu Dec 06, 2018 2:16 pm

Re: LDAP Import Problems

Post by trea »

Thankfully only 6 users need to be added, and I'm happy to report this absolutely worked for our situation. Thank you so much for your expedient help on this problem.

I didn't recall seeing this workaround on the knowledge base anywhere; if it's not already there, it should be.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: LDAP Import Problems

Post by ssax »

That's great to hear, are we okay to lock the topic and mark it as resolved? I'll make a note to our KB maintainer to add it.
trea
Posts: 6
Joined: Thu Dec 06, 2018 2:16 pm

Re: LDAP Import Problems

Post by trea »

Yep, feel free to mark as resolved. Thanks!
Locked