# Import users from LDAP

**URL:** <https://forums.rocket.chat/t/import-users-from-ldap/15817>\
**Category:** Community Support\
**Created:** [January 23, 2023, 7:35am UTC](https://forums.rocket.chat/t/import-users-from-ldap/15817 "2023-01-23T07:35:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ArnaudOCP](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@ArnaudOCP](https://forums.rocket.chat/u/ArnaudOCP)\
**Post date:** [January 23, 2023, 7:35am UTC](https://forums.rocket.chat/t/import-users-from-ldap/15817/1 "2023-01-23T07:35:12Z")

</div>

### Description

i set up the ldap connection, it’s was successful.  
I try to import users from the ldap (Active directory) to rocket chat it’ not OK  
Any one can helping me please?

### Server Setup Information

- Version of Rocket.Chat Server: 5.4.1
- Operating System: Debian 11
- Deployment Method: apt get ([https://docs.rocket.chat/deploy-rocket.chat/prepare-for-your-rocket.chat-deployment/other-deployment-methods/manual-installation/debian-based-distros/debian](https://docs.rocket.chat/deploy-rocket.chat/prepare-for-your-rocket.chat-deployment/other-deployment-methods/manual-installation/debian-based-distros/debian))
- Number of Running Instances: 1
- DB Replicaset Oplog: MongoDB 5.0.14 / wiredTiger (oplog Activé)
- NodeJS Version: v14.21.2
- MongoDB Version: 5.0.14
- Proxy: nginx
- Firewalls involved: no FW

### Any additional Information

it’s impossible to active directory user to log on the rocket chat server with theire active directory credentials.  
 ![rocketLDAP](https://us1.discourse-cdn.com/flex021/uploads/rocketchat/original/2X/a/a3ff25b435fbd61ee7476cbf2698ad8348ffbb4c.png)

---

<div class="post-metadata">

**Author:** ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)\
**Post date:** [January 23, 2023, 5:53pm UTC](https://forums.rocket.chat/t/import-users-from-ldap/15817/2 "2023-01-23T17:53:26Z")

</div>

Hi!

It will only add the user on the user login.

Syncing the users before they join is restricted to the Enterprise Version.

Check here for more info:

> **[Identity Management (EE vs CE)](https://docs.rocket.chat/setup-and-administer-rocket.chat/advanced-workspace-management/identity-management-ee-vs-ce)**
>
> List of available log in methods and features and their differentiation for Enterprise and Community editions.

---

<div class="post-metadata">

**Author:** ![ArnaudOCP](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@ArnaudOCP](https://forums.rocket.chat/u/ArnaudOCP)\
**Post date:** [January 24, 2023, 10:47am UTC](https://forums.rocket.chat/t/import-users-from-ldap/15817/3 "2023-01-24T10:47:30Z")

</div>

Hi dudanogueira,  
Thanks for replying.  
Regards,
