mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #999] Organization import with directory connector: HTTP 404 #709
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#709
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LiaraAlis on GitHub (May 19, 2020).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/999
Sync with directory connector fails with HTTP 404
When syncing an organization with the bitwarden directory connector, the called url (/api/organizations//import) returns a http 404 error.
Ticket from directory connector repository: https://github.com/bitwarden/directory-connector/issues/43
Is it possible that this feature isn't supported in
bitwarden_rs?@dani-garcia commented on GitHub (May 19, 2020):
Yes at the moment the official connector is not supported. There's a separate LDAP service in the wiki though, if that helps.
@LiaraAlis commented on GitHub (May 20, 2020):
Thanks for your answer. That is too bad. :(
The separate LDAP service seems very complicated. Not very intuitive. I don't understand how it works.
@Leboubou111 commented on GitHub (Jun 9, 2020):
@dani-garcia The separate LDAP service doesn't really sync LDAP users and groups... Just invite users to create an account into your BW_RS instance.
And user cannot login with their credential LDAP account.
I'm sad that I can't authenticate my LDAP users.
Anyway, congratulations for your work ;-)
@dani-garcia commented on GitHub (Jun 9, 2020):
Creating new users and using their LDAP credentials to authenticate is impossible due to the way the encryption works, so both the separate service and a possible implementation of the official LDAP connector would work the same way, which means users need to create their own accounts and passwords won't be synced, not much we can do there, I'm afraid.
Support for the official LDAP connector is included in the feature request isssue, so I'll close this to keep the issue tracker focused.
@Gheben commented on GitHub (Apr 12, 2021):
Any update about user/group sync ?

Test sync will display users and groups, but when I try to Sync, It fail.
@Leboubou111 commented on GitHub (Apr 13, 2021):
I hope every day that this function will be implemented.
But I understand, it's not easy.
@BlackDex commented on GitHub (Apr 13, 2021):
There is support for the ldap connector already. Only no group support
@Leboubou111 commented on GitHub (Apr 13, 2021):
For a LDAP user connexion ?
Are you sure ?
I think just for invit LDAP user by their email to create an account.
I talk about that ; https://github.com/dani-garcia/bitwarden_rs/issues/999#issuecomment-641420465
@BlackDex commented on GitHub (Apr 13, 2021):
There will probably never be a single password login option via either sso or ldap since you always need a master password to decrypt the vault data.
So, using the connector would give you almost the the same kind of feeling as sso. It should disable users and create accounts for them.
Also, ldap passwords can be changed without any notification of previous password for the vault, and thus the vault can't change the master password.
@Leboubou111 commented on GitHub (Apr 13, 2021):
I believe that the original project has this function with Directory Connector sync.
@BlackDex commented on GitHub (Apr 13, 2021):
Well, then i would say try it out. Since there is basic support for it already. See
github.com/dani-garcia/bitwarden_rs@85e3c73525@BlackDex commented on GitHub (Apr 13, 2021):
Also read the release notes here: https://github.com/dani-garcia/bitwarden_rs/releases/tag/1.19.0
And the official docs regarding this https://bitwarden.com/help/article/directory-sync/
@Leboubou111 commented on GitHub (Apr 14, 2021):
I hadn't seen this update. Sorry, I'll try.