RocketChat / Rocket.Chat

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

LDAP Configuration #4160

Closed akashkaveti closed 7 years ago

akashkaveti commented 8 years ago

I have tried to configure Our Rocketchat with LDAP configuration. When I tested the connection it seems fine, but when I tried to login to rocketchat with my LDAP credentials I got an error that the user couldn't be found.

JSzaszvari commented 8 years ago

What type of LDAP Server is it?

Active Directory? OpenDirectory (Apple)? OpenLDAP?

akashkaveti commented 8 years ago

Open LDAP

akashkaveti commented 7 years ago

My configuration for LDAP,

LDAP_Enable = True host= ldap.jumpcloud.com LDAP_Port = 636 Connection timeout= 600000 idle timeout= 600000 encryption=ssl/ldaps Domain base= OU=users,O=org.id,DC=jumpcloud,DC=com custom domain search = {"filter": "(&(objectCategory=person)(objectclass=inetOrgPerson) (memberOf=CN=rocket-chat-group,OU=users,O=org.id,DC=jumpcloud,DC=com)(uid=#{username}))", "scope": "sub", "userDN": "uid=binduser,ou=users,o=org.id,dc=jumpcloud,dc=com", "password": "password"}

My connection seems fine, when I sync users there weren't any errors but users are not synced. When I try to login with my LDAP credentials, I got User not found error.