Pagination issue in Matomo

While executing “console loginldap:synchronize-users” we are getting the following error.

NFO [2021-04-19 05:48:20] 294 LdapUsers::makeLdapClient: Using LDAP server
WARNING [2021-04-19 05:48:22] 294 /var/www/html/matomo/plugins/LoginLdap/Ldap/Client.php(375): Warning - ldap_search(): Partial search results returned: Sizelimit exceeded - Matomo 4.2.1 - Please report this message in the Matomo forums: (please do a search first as it might have been reported

Can you please suggest us how to increase the sizelimit in matomo code as we wont be able to make any changes in LDAP configuration as it is running in Production.


I don’t know anything about LDAP, but it seems like this is a bug in the plugin.

Could you please create an issue for it in and ideally (if it is possible for you) submit a pull request with a fix?