New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with LDAP authentication #352
Comments
Are you use current master, or release version? It was fixed in #336 |
Sorry, I looked for existing issue without luck and opened a new one. |
I tried to build a dev environment to test master as described in CONTRIBUTING.md, but without luck. |
It is indeed critical & will be fixed shortly. Apologies for any delay in handling this. You should disable LDAP until it is released |
Fixed in #336 |
Hi,
I'm using version 2.3.0.
I've setup LDAP authentication with group matching on ldap_searchfilter, here is my config
After first successful login with a user who is in the group semaphore_users, user table in MySQL db shows this:
User details are properly populated from LDAP, and user is flagged as external.
After logout, I tried to login with a user not in the group semaphore_users, expecting a failed login response, but login is instead successful, and user table is populated with an empty entry (id 31):
The same thing happens using an invalid user on LDAP.
After this entry is created, login only works for user with id 30, and no other user can login, nor valid neither invalid LDAP users, login prompt answers with "-1 Request Failed. Try again later."
Since this happens even with invalid LDAP users, my guess is that it would happen even with default filter
(uid=%s)
.Is this a misconfiguration or something else?
Please let me know if I can provide further details or logs.
The text was updated successfully, but these errors were encountered: