LDAP integration empty userlist

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
SundanceRaphael
Posts: 13
Joined: Mon Jun 19, 2017 1:22 am

LDAP integration empty userlist

Post by SundanceRaphael »

The forum entry "Empty User List When Importing Users LDAP" (https://support.nagios.com/forum/viewto ... 88&start=0) describes an issue with blanked userlists.
I found out that the in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/index.php the $unit variable in not looking for the keyword "account".
I added the "account" keyword and it works.

Code: Select all

Line  701      $units = array('person','account', 'inetorgperson', 'organizationalperson', 'shadowaccount', 'posixaccount');
My questions are:
  • 1st: Is there a better place for add the "account" keyword ?
    2nd: Is it possible to fix the issue in the default virtual machine?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: LDAP integration empty userlist

Post by dwhitfield »

What version of XI are you running? It's down in the lower left hand corner.

Also, what version of the LDAP component? http://YOURSERVER/nagiosxi/admin/components.php
SundanceRaphael
Posts: 13
Joined: Mon Jun 19, 2017 1:22 am

Re: LDAP integration empty userlist

Post by SundanceRaphael »

I run following version:

//System
Nagios XI Version : 5.4.5
CentOS release 6.9 (Final)
Gnome is not installed

//LDAP / Active Directory Integration
1.0.10

Is the default virtual machine from https://www.nagios.com/downloads/nagios-xi/vmware/
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: LDAP integration empty userlist

Post by dwhitfield »

Devs are going to add it. I don't know in what version though. I would just check back when 5.5 is out. It's a small change, so it could be 5.4.6, but they are seeing this a feature request, not a bug, so traditionally, those would wait until 5.5. However, since it's a component, it might be out sooner than either one of those.
Locked