Issue with loggin on created workspace


I have configured a workspace on a ubuntu server. There is configured an LDAP sync with a Windows Server where is de Active Directory.
This has worked a lot of time , but now i cannot enter on the workspace via web o app. The problem is that anybody can enter, neither de admin user, but if you are inside works properly.
I restored de server to a date that was working but it doesnot worked.
How could I enter on the workspace if there is a problem with de Ldap sync? All of the users come from the LDAP. Is there any file on the server to change the LDAP paramethers?
Any command to force an ldap sync on the ubuntu server?

Server Setup Information

  • Version of Rocket.Chat Server: 5.0
  • Operating System: Ubuntu 20.0.4
  • Deployment Method:
  • Number of Running Instances: 3
  • DB Replicaset Oplog:
  • NodeJS Version: v14.18.3
  • MongoDB Version: 5.0.9
  • Proxy:
  • Firewalls involved: UFW

Any additional Information

Sep 1 09:31:37 rocketchat rocketchat-medop[1118]: {“level”:50,“time”:“2022-09-01T07:31:37.635Z”,“pid”:1118,“hostname”:“rocketchat”,“name”:“LDAP”,“section”:“Connection”,“msg”:“connection time out”,“timeout”:1000}
Sep 1 09:31:37 rocketchat rocketchat-medop[1118]: {“level”:50,“time”:“2022-09-01T07:31:37.637Z”,“pid”:1118,“hostname”:“rocketchat”,“name”:“LDAP”,“err”:{“type”:“Error”,“message”:“Timeout”,“stack”:“Error: Timeout\n at Timeout._onTimeout (server/lib/ldap/Connection.ts:775:35)\n at listOnTimeout (internal/timers.js:557:17)\n at processTimers (internal/timers.js:500:7)\n => awaited here:\n at Function.Promise.await (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12)\n at server/lib/ldap/Manager.ts:34:5\n at /opt/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40”},“msg”:“Timeout”}