Closed florent4014 closed 1 month ago
Hi @florent4014, This is because you're not using the provided username in the user filter at all, so it will just find all users that match the filter and use the first result.
You need to use the {user}
placeholder as part of the filter. For example:
LDAP_USER_FILTER=(&(memberOf=cn=bookstack,ou=groups,dc=domain,dc=lan)(uid={user}))
Yup that's on me, sorry for taking your time ! The fault was between the chair and the keyboard apparently :)
It's working now, thank you !
@florent4014 No worries, good to hear things are working now!
Describe the Bug
It seems that Bookstack only retrieve the first account (in alphabetic order) of an LDAP group thus only permitting logging to this and only account. No errors in logs.
`
- AUTH_METHOD=standard
`
Steps to Reproduce
Expected Behaviour
Being able to connect with all members in group
Screenshots or Additional Context
You can read the error message saying "These informations does not match any existing account"
Browser Details
BRAVE Version 1.70.119 Chromium: 129.0.6668.70 (64 bits)
Exact BookStack Version
BookStack v24.05.4