LDAP login method is not selected on login
name: Bug report
about: Create a report to help us improve
Describe the bug When I select LDAP as login method on the login screen and fill it with the credentials, the login is not possible. In the logs I found the following line:
time="2024-10-07 12:13:54" level="error" msg="User not found, cannot authenticate" file=" users.go:178 " identifier="<username>" method="internal"
It seams like the login method is not correctly evaluated.
To Reproduce Steps to reproduce the behavior:
- Install Stork and stork-ldap-hook (1.19.0)
- Go to login page and select LDAP as method
- Enter the credentials and click on login
- The login fails with the message above
Expected behavior The login method should be selected correctly and the login should be passed via ldap and the configured server.
Environment:
- Kea version: 2.4.0
- Stork: 1.19.0
- OS: openSUSE 15.6 x64
Additional information:
I skipped version 1.18.0
. At version 1.17.0
it worked.
When I select LDAP as login method and try to log in with a internal user, the login works.
Edited by Robin Berger