cschiewek / devise_ldap_authenticatable

Devise Module for LDAP
MIT License
594 stars 359 forks source link

Use current users login #229

Open jostster opened 7 years ago

jostster commented 7 years ago

Am I not understanding this module correctly or does it require either Anonymous AD browsing or you have to have an admin account in order for you to login?

Wouldn't it make sense to attempt a connection with the person trying to login and if the login fails then you know the credentials were invalid.

spacerobotTR commented 6 years ago

For me the only way I could get it to work is by setting up an admin account for the plugin to use to log in and verify the username and password of the person logging in. In other tools/languages I didn't need to specify that hitting the same server.