Page 2 of 2

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

Posted: Mon Nov 29, 2021 1:05 pm
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.

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

Posted: Mon Nov 29, 2021 5:56 pm
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

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

Posted: Tue Dec 07, 2021 5:28 am
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!

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

Posted: Tue Dec 07, 2021 6:15 pm
by ssax
Glad to help, thanks for the update! Locking the thread and marking as resolved.