RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.63k stars 10.63k forks source link

Problem connecting to LDAP (FreeIPA) #19116

Closed Ramhm closed 4 years ago

Ramhm commented 4 years ago

Hi all, Rocket.chat version: 3.7.0 Rocket.Chat Config:

BaseDN: cn=users,cn=accounts,dc=company,dc=com Username field: uid Unique identifier field: entryUUID Default domain: company.com Sync user data: on User data field map: {"cn":"name", "mail":"email"} Sync LDAP groups: on User group filter: (&(cn=#{groupName})(member=uid=#{username},ou=users,dc=company,dc=com)) LDAP group basedn: ou=groups,dc=company,dc=com User Data Group Map:{"rocket-admin": "admin","tech-support": "support"} Sync user avatar: Off (normally on) Background sync: on Background sync interval: every 5 minutes Background Sync Import New Users: on Background Sync Update Existing Users: on User Search Filter: (&(objectclass=inetOrgPerson)(memberOf=,ou=groups,dc=company,dc=com)) scope: sub search field: uid Group ObjectClass:groupOfNames Group ID Attribute: cn Group Member Attribute:Member Group Member Format:Member Group name:rocket-admin

All FREIPA users are in the rocket-admin group.

I am using freeipa service for ldap and the error is displayed below. Error: server.js:204 LDAPHandler ➔ error Error: User not Found

Does anyone have a config for freeipa? Please check this item.

close-issue-app[bot] commented 4 years ago

This issue was closed because it does not use our bug report issue template.

Please make sure to use it and fill it as much as you can so we can provide better and faster support.

The following sections must not be removed, or else the BOT will close it immediately again: