mirror of
https://github.com/sirtoobii/vaultwarden_ldap_sync.git
synced 2026-04-26 20:45:54 +03:00
[GH-ISSUE #15] User Not Deactivated or Reactivated When Removed/Added to LDAP Group #10
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden_ldap_sync#10
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 @Sh4dow998 on GitHub (May 19, 2025).
Original GitHub issue: https://github.com/sirtoobii/vaultwarden_ldap_sync/issues/15
Description
We’re using Vaultwarden LDAP Sync (latest commit of the official repo) to synchronize our LDAP users with Vaultwarden. We have a dedicated LDAP group (
GRP_Vaultwarden) configured so that:GRP_Vaultwarden, they receive an invitation email to create a Vaultwarden account.GRP_Vaultwarden, their Vaultwarden account is disabled.This flow has worked flawlessly for all users—except one. This user was initially in
GRP_Vaultwardenwhen the container was first launched. When we removed him from the group, no action occurred: no disablement, no logs, nothing in the Docker output. Re-adding him to the group also did nothing (no invitation email, no reactivation). Removing him again likewise produced no effect.Environment
vaultwarden/server:latestAdditional Information
Could you please advise why a single user would be ignored by the sync process, and what additional logging or diagnostics we can enable to determine the root cause? Any help is greatly appreciated!
@sirtoobii commented on GitHub (May 19, 2025):
Hi, thank you for the detailed bug report. This sounds like a very interesting issue, would you mind sending me the debug logs
LOGLEVEL=DEBUGalong with the affected email address.tobias[dot]bossert[at]fastpath[dot]ch@Sh4dow998 commented on GitHub (May 21, 2025):
I’ve emailed the debug logs and screenshots to your mail address. Let me know if you need anything else!
@sirtoobii commented on GitHub (May 25, 2025):
Hi @Sh4dow998
Yes, thank you for the email. I couldn’t reproduce the described behavior, and I honestly can't think of a (technical) reason why the script would ignore a specific email address. To help debug this, I’ve added an option to dump all emails read from LDAP to the DEBUG log facility.
Please try the version at fix/user_not_adopted with
DUMP_EMAIL_SOURCE=1, and confirm whether the affected user appears in that list.@Sh4dow998 commented on GitHub (Jun 16, 2025):
Hi @tobiasbossert,
Apologies for the late reply — I was on vacation for the past three weeks. I’ve tested the
fix/user_not_adoptedversion withDUMP_EMAIL_SOURCE=1, and the issue has been resolved: the affected user now appears in the list and was correctly invited.