leenooks / phpLDAPadmin

phpLDAPadmin - Web based LDAP administration tool
www.phpldapadmin.org
GNU General Public License v2.0
520 stars 166 forks source link

"These credentials do not match our records error" on login #245

Closed bloodhunterd closed 8 months ago

bloodhunterd commented 10 months ago

Describe the bug I use the Docker image 2.0.0-dev. The connection to the LDAP server works - I see the base dn information. Now when I try to log in, I always get the error These credentials do not match our records.. If I set the same username and password via the ENV variables, it works. According to my research, this is an error message from Laravel.

To Reproduce Enter a user's e-mail address and password in the login window and the error message will appear.

Expected behavior A working login.

Screenshots image

LDAP Server details

Kipjr commented 8 months ago

it could be related to #253 , where I've an issue with login. It seems that it requires the account object to be of the class "posixAccount" and the "mail"-attribute to exist.

leenooks commented 8 months ago

Email login does work - you can validate on demo.phpldapadmin.org, using "bart.simpson@example.com" and "eatmyshorts". Compare "barts" record to yours and see what's different - particularly objectclass, mail, userpassword. I'll look at #253 it may be related.

mamema commented 7 months ago

Email login does work - you can validate on demo.phpldapadmin.org, using "bart.simpson@example.com" and "eatmyshorts". Compare "barts" record to yours and see what's different - particularly objectclass, mail, userpassword. I'll look at #253 it may be related.

hmm, no neither with Bart's pants down,eaten nor without pants, there is no login on the demo site possible. Exactly the same with the current docker build. Email is configured and it's a possixAccount

leenooks commented 7 months ago

I've reset the demo environment - somebody changed "bart's" password. I just successfully logged in user "bart".