After upgrade distribution list not displaying ldap/ad users

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
bsanjay
Posts: 86
Joined: Mon Apr 29, 2019 9:38 am

After upgrade distribution list not displaying ldap/ad users

Post by bsanjay »

Hello Team,
We have recently upgraded the nagios logserver to latest version 2.1.8 . After upgrading to this version we are facing an issue while adding LDAP/AD users. After selecting distribution list inside LDAP/AD users, no users are listed.

NOTE -

Before upgrade this was working fine.

We have another logserver in the same network, which is still running on older version 2.1.4 where i can see the users in LDAP/AD distribution lists.

Best Regards,
bsanjay
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: After upgrade distribution list not displaying ldap/ad u

Post by ssax »

I'm labbing this up and will let you know what I find, I don't really see any changes in the change log that should impact it:
- The ones I do see I looked into and they shouldn't be related

https://www.nagios.com/downloads/nagios ... hange-log/
bsanjay
Posts: 86
Joined: Mon Apr 29, 2019 9:38 am

Re: After upgrade distribution list not displaying ldap/ad u

Post by bsanjay »

Hi ssax,
We have 3 nagios logserver setup in our organisation. We did upgrade on 2 and left prod. So now i see this DL's listing user on prod but not listing users on the both upgraded nagios logservers.
FYI, i was able to see list of users in DL's before upgrade and i did added AD users too. Please let me know if you need any more info from our side.

Best Regards,
bsanjay
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: After upgrade distribution list not displaying ldap/ad u

Post by ssax »

I'm able to replicate this, I'm looking for a solution and will update shortly.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: After upgrade distribution list not displaying ldap/ad u

Post by ssax »

Please edit this file:

Code: Select all

/var/www/html/nagioslogserver/application/helpers/ldap_ad_helper.php
Change this (line 123):

Code: Select all

     } else if ($type == "container" || $type = "nsContainer") {
To this:

Code: Select all

     } else if ($type == "container" || $type == "nsContainer") {
That would have been my fault as I submitted the merge request for this change, sorry about that! I've reported it to development.
bsanjay
Posts: 86
Joined: Mon Apr 29, 2019 9:38 am

Re: After upgrade distribution list not displaying ldap/ad u

Post by bsanjay »

Hello ssax,
Thanks for your help. that worked.

Best Regards,
Sanjay Batkura
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: After upgrade distribution list not displaying ldap/ad u

Post by scottwilkerson »

bsanjay wrote:Hello ssax,
Thanks for your help. that worked.

Best Regards,
Sanjay Batkura
Locking thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked