Page 1 of 1

LDAP integration empty userlist

Posted: Mon Jun 19, 2017 2:23 am
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?

Re: LDAP integration empty userlist

Posted: Mon Jun 19, 2017 4:19 pm
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

Re: LDAP integration empty userlist

Posted: Tue Jun 20, 2017 1:38 am
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/

Re: LDAP integration empty userlist

Posted: Tue Jun 20, 2017 9:07 am
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.