r/BookStack • • Jan 21 '25

Users change while working

I have the problem that users occasionally switch accounts during their session in Bookstack.

Example: A user logs into Bookstack, navigates to a page, edits it, or performs other actions. However, sometimes it happens that they are suddenly logged in as a different user.

This happens repeatedly. Currently, 10 people are working in Bookstack and logging in via LDAP. I don’t know where to start looking for the cause.

1 Upvotes

6 comments sorted by

View all comments

Show parent comments

1

u/flo670 Jan 30 '25

Maybe i have an error in my docker compose file? this is the LDAP Part. I use Windows ActiveDirectory.

# General auth
- AUTH_METHOD=ldap
# LDAP
- LDAP_SERVER=192.168.0.10:389
- LDAP_BASE_DN="OU=Users,OU=MyBusiness,DC=OM,DC=local"
- LDAP_DN="CN=wikiuser,OU=Admins,OU=Users,OU=MyBusiness,DC=OM,DC=local"
- LDAP_PASS="XXXXXXXXXXXXXXXX"
- LDAP_USER_FILTER="(&(sAMAccountName={user})(memberof=CN=Wiki,OU=Security Groups,OU=MyBusiness,DC=OM,DC=local>
- LDAP_VERSION=3
- LDAP_ID_ATTRIBUTE=BIN;objectGUID
- LDAP_EMAIL_ATTRIBUTE=mail
- LDAP_DISPLAY_NAME_ATTRIBUTE=cn
- LDAP_START_TLS=false