LdapRecord-Laravel: [Support] Unable to authenticate using OpenLDAP
After many attempt using LdapRecord-Laravel to authenticate users, it still not works and the response is ‘These credentials do not match our records.’
I followed the steps of the documentation (twice, after creating a blank project).
The php-ldap connection test php artisan ldap:test
returns successful.
I am able to search in my active directory: Users::get()
or User::where('uid', '=', 'xxxxxx')->get();
There is nothing about authentication failure in storage/logs/laravel.log.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 16 (6 by maintainers)
Commits related to this issue
- Added OpenLDAP model usage to Plain Authentication quick start section https://github.com/DirectoryTree/LdapRecord-Laravel/issues/192 — committed to DirectoryTree/LdapRecord-Docs by stevebauman 4 years ago
Also:
You will still need to use this model with
OpenLDAP
.I’m unsure why the assumption would be made to use an
ActiveDirectory
based model withOpenLDAP
. I’ll update the documentation to make sure this is explicitly clear.