LDAP synchronization : error code 2

We’re currently using Keycloak 4.8.3 Final with a configuration with LDAP and Kerberos.
We have about 5000 users in LDAP, which is configured with default settings for pagination which is 500 users per page.
When we request for a complete synchronization of users, it seems that the first page result returned by the LDAP is treated without any problem. But when Keycloak requests the second page, we have the following error javax.naming.CommunicationException: [LDAP: error code 2 - paged results cookie is invalid]"
The same error is logged by the LDAP on its own side.
The LDAP is OpenLDAP.
We have not found any reference of such an error, does anyone has an idea about it ?