Unable to scroll beyond a letter in AD/LDAP

This support forum board is for questions relating to Nagios Fusion.
apteancloud
Posts: 47
Joined: Wed Sep 09, 2020 4:05 am

Re: Unable to scroll beyond a letter in AD/LDAP

Post by apteancloud »

Hello,

I am not a PHP expert, however, from what I researched, suhosin appears to be a PHP Hardening extension which is not readily installed.
I followed these guides to setup suhosin:
https://serverpilot.io/docs/how-to-inst ... extension/
https://suhosin5.suhosin.org/stories/index.html .
Also to add, the trial version has PHP 5.4 packaged which is a very old version. Shouldnt this be running PHP 7 or something?
Before installing suhosin:
Capture1.JPG
After installing suhosin:
Capture2.JPG
I am also inclined to agree that this is a PHP settings, but it doesn't appear to be 'suhosin'.

Code: Select all

; How many GET/POST/COOKIE input variables may be accepted
max_input_vars = 5000
suhosin.post.max_vars = 5000
suhosin.request.max_vars = 5000
And then restarted HTTPD. Still same issue. Perhaps it is some other PHP attribute?
I am running a CentOS 7 for Nagios Fusion.
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: Unable to scroll beyond a letter in AD/LDAP

Post by ssax »

How many total users are listed?

There isn't a limit in the Fusion code for this, it's likely being limited on the Windows side, you can validate on a domain controller by following the Not All Active Directory Users Are Listed > Solution 2 section of the guide below:

https://support.nagios.com/kb/article/a ... n-600.html
apteancloud
Posts: 47
Joined: Wed Sep 09, 2020 4:05 am

Re: Unable to scroll beyond a letter in AD/LDAP

Post by apteancloud »

Increasing the MaxPageSize value did the trick. Increased the value to 6000 and I can pull all the AD records now. Please archive the thread.
Thank you!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Unable to scroll beyond a letter in AD/LDAP

Post by ssax »

Glad to help, thanks for the update! Locking the thread and marking as resolved.
Locked