Page 1 of 1

After upgrade distribution list not displaying ldap/ad users

Posted: Wed May 26, 2021 1:53 pm
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

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

Posted: Thu May 27, 2021 1:25 pm
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/

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

Posted: Thu May 27, 2021 1:43 pm
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

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

Posted: Thu May 27, 2021 1:54 pm
by ssax
I'm able to replicate this, I'm looking for a solution and will update shortly.

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

Posted: Thu May 27, 2021 2:49 pm
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.

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

Posted: Fri May 28, 2021 2:07 pm
by bsanjay
Hello ssax,
Thanks for your help. that worked.

Best Regards,
Sanjay Batkura

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

Posted: Tue Jun 01, 2021 6:50 am
by scottwilkerson
bsanjay wrote:Hello ssax,
Thanks for your help. that worked.

Best Regards,
Sanjay Batkura
Locking thread