I am trying to make authentication with ActiveDirectory using ldaprecord-laravel. I followed the documentation and made required changes in files. However, I ended up with only php artisan ldap:test working and php artisan ldap:import ldap showing that there are no users to import.
When I use online LDAP test server, I can go further and make Auth::attempt(['uid' => 'einstein', 'password' => 'password']) in Tinker, but the web login still doesn't work. With AD, I can't auth attempt using neither samaccountname, nor username, nor uid. Though plain auth using ldap_connect and ldap_bind works.
There are few changes in my configuration as compared to documentation, i.e. user_login instead of username, but I made proper methods to handle them.
How can I find out what causes the problem?
I am trying to make authentication with ActiveDirectory using ldaprecord-laravel. I followed the documentation and made required changes in files. However, I ended up with only
php artisan ldap:testworking andphp artisan ldap:import ldapshowing that there are no users to import.When I use online LDAP test server, I can go further and make
Auth::attempt(['uid' => 'einstein', 'password' => 'password'])in Tinker, but the web login still doesn't work. With AD, I can't auth attempt using neither samaccountname, nor username, nor uid. Though plain auth using ldap_connect and ldap_bind works.There are few changes in my configuration as compared to documentation, i.e. user_login instead of username, but I made proper methods to handle them.
How can I find out what causes the problem?