# Ldap invitation

**URL:** <https://vaultwarden.discourse.group/t/ldap-invitation/1022>\
**Category:** Help\
**Created:** [July 21, 2021, 4:52pm UTC](https://vaultwarden.discourse.group/t/ldap-invitation/1022 "2021-07-21T16:52:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paco](https://avatars.discourse-cdn.com/v4/letter/p/a6a055/32.png) [@Paco](https://vaultwarden.discourse.group/u/Paco)\
**Post date:** [July 21, 2021, 4:52pm UTC](https://vaultwarden.discourse.group/t/ldap-invitation/1022/1 "2021-07-21T16:52:09Z")

</div>

Hi,

I’ve used ldap as described here [Syncing users from LDAP · dani-garcia/vaultwarden Wiki · GitHub](https://github.com/dani-garcia/vaultwarden/wiki/Syncing-users-from-LDAP) to invite users from my organization (organization in vaultwarden created previously with some users).

The users has received the invitation to join the organization but when they create their own account they are not in the organization, and on organization settings there are no new invitations pending but invited users are listed in the /admin page. The only way to move them to the organization is inviting then manually.

Maybe invites are not being generated correctly?

Any help?

Thanks

---

<div class="post-metadata">

**Author:** ![Paco](https://avatars.discourse-cdn.com/v4/letter/p/a6a055/32.png) [@Paco](https://vaultwarden.discourse.group/u/Paco)\
**Post date:** [July 21, 2021, 5:11pm UTC](https://vaultwarden.discourse.group/t/ldap-invitation/1022/2 "2021-07-21T17:11:06Z")

</div>

Hi,

It’s me again, accept button on invitation mail are being sent with empty organizationId parameter 😕 I’ll try to ldap sync gets or fails to get that id. thanks

[https://vaultwarden.domain.com/#/accept-organization/?organizationId=](https://vaultwarden.domain.com/#/accept-organization/?organizationId=)_&organizationUserId=_&email=user@domain.com…

---

<div class="post-metadata">

**Author:** ![BlackDex](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/blackdex/32/8_2.png) [@BlackDex](https://vaultwarden.discourse.group/u/BlackDex)\
**Post date:** [July 21, 2021, 5:31pm UTC](https://vaultwarden.discourse.group/t/ldap-invitation/1022/3 "2021-07-21T17:31:55Z")

</div>

If I’m correct, that doesn’t provide a way to invite to a specific org, but only to invite a user to use vaultwarden.

If you want to invite someone to an org you need to use the directory connector.

---

<div class="post-metadata">

**Author:** ![Paco](https://avatars.discourse-cdn.com/v4/letter/p/a6a055/32.png) [@Paco](https://vaultwarden.discourse.group/u/Paco)\
**Post date:** [July 22, 2021, 12:20pm UTC](https://vaultwarden.discourse.group/t/ldap-invitation/1022/4 "2021-07-22T12:20:45Z")

</div>

ok, thanks for your help! 🙂
