Replies: 1 comment 2 replies
-
Hi @danatela, To debug these types of issues, make sure you have logging enabled and try authenticating again. Then check your Laravel application logs inside of the You can also use the Hope this helps! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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 andphp 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?
Beta Was this translation helpful? Give feedback.
All reactions