User removed from Active Directory group not synced #3272

Closed
opened 2026-02-05 06:13:24 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @maxkes on GitHub (Oct 11, 2022).

Describe the Bug

LDAP authentification with AD option and group sync is enabled and working.

User A is in AD-Group G. On Boockstack Group G is created. When the user logs on Bookstack the first time, an account is created and he is added to the Bookstack Group G. Everything is good so far.
Now I remove user A from AD-Group G. But he is still in Boockstack group G. Even if I remove him manually from Boockstack group G, he is still in group G.

Steps to Reproduce

Have an AD-group and same named Bookstack group.
Add an user to the AD-group.
Remove the user from the AD-group, but he is stil in the Boockstack group.

Expected Behaviour

User is removed from the Boockstack group as well.

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

v22.09.1

PHP Version

No response

Hosting Environment

Ubuntu 22.04 Script executed on a fresh Ubuntu 22.04.1 desktop on a VM.

Originally created by @maxkes on GitHub (Oct 11, 2022). ### Describe the Bug LDAP authentification with AD option and group sync is enabled and working. User A is in AD-Group G. On Boockstack Group G is created. When the user logs on Bookstack the first time, an account is created and he is added to the Bookstack Group G. Everything is good so far. Now I remove user A from AD-Group G. But he is still in Boockstack group G. Even if I remove him manually from Boockstack group G, he is still in group G. ### Steps to Reproduce Have an AD-group and same named Bookstack group. Add an user to the AD-group. Remove the user from the AD-group, but he is stil in the Boockstack group. ### Expected Behaviour User is removed from the Boockstack group as well. ### Screenshots or Additional Context _No response_ ### Browser Details _No response_ ### Exact BookStack Version v22.09.1 ### PHP Version _No response_ ### Hosting Environment Ubuntu 22.04 Script executed on a fresh Ubuntu 22.04.1 desktop on a VM.
OVERLORD added the 🐛 Bug label 2026-02-05 06:13:24 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3272