Problem with ldap when running xwiki in cluster mode

Hi!
I encountered the following problem.
I am setting up xwiki in an isolated environment in cluster mode. The scheme is two servers, a common DB, a common AD server. I am setting up authorization via ldap on each server. Everything is fine on one server, everything works.
But the second one does not want to authorize domain users.
According to the logs, ldap reads the list of users of the required group, gets information about them, and then interrupts the authorization process.
I ask for help or advice. I did not find the case I needed on the Internet on the topic of setting up ldap xwiki in cluster mode
If anyone has such experience, please share)