Unable to do a ldap sync


I am using rocket chat with docker on centos 7.
I am trying to synchronize ldap to update my users list.

I can authenticate my users coming from the activ directory, I would like to use the ldap sync feature which allows to register all the users in the user section, when I use this feature I don’t get any error but the sync is not done.

Do you have any idea of this issue ?

Thank you.
Best regards.

Server Setup Information

Apps Engine Version
Node Version
Database Migration
281 (August 11, 2023 11:16 AM)
4.4.15 / wiredTiger (oplog Enabled)
Commit Details
HEAD: (a639f2002)
Branch: HEAD

Any additional Information

MongoServerSelectionError: getaddrinfo EAI_AGAIN mongodb
at Timeout._onTimeout (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/sdam/topology.js:312:38)
at listOnTimeout (internal/timers.js:557:17)
at processTimers (internal/timers.js:500:7) {
reason: TopologyDescription {
type: ‘Single’,
servers: Map(1) {
‘mongodb:27017’ => ServerDescription {
_hostAddress: HostAddress { isIPv6: false, host: ‘mongodb’, port: 27017 },
address: ‘mongodb:27017’,
type: ‘Unknown’,
hosts: ,
passives: ,
arbiters: ,
tags: {},
minWireVersion: 0,
maxWireVersion: 0,
roundTripTime: -1,
lastUpdateTime: 2075031578,
lastWriteDate: 0,
error: MongoNetworkError: getaddrinfo EAI_AGAIN mongodb
at connectionFailureError (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/cmap/connect.js:381:20)
at Socket. (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/cmap/connect.js:301:22)
at Object.onceWrapper (events.js:520:26)
at Socket.emit (events.js:400:28)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
stale: false,
compatible: true,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
setName: ‘rs0’,
logicalSessionTimeoutMinutes: undefined

Hello @Rami

Thanks for reaching us out. QQ Are you using an Enterprise workspace? Cause the LDAP sync is available but for Enterprise Edition (More info here):

Merge Existing Users and Update User Data on Login with OAuth services are available only on enterprise edition workspaces.