SunnyBoy
9 months ago
5493
12
Laravel

Adldap2-Laravel with Windows Active Directory

Posted 9 months ago by SunnyBoy

Hi Laravel Gurus,

I'm new to LDAP and for a project, the requirement is to use username instead of email for authentication. For username authentication i need to connect to the company's active directory.

I tried this https://github.com/jotaelesalinas/laravel-simple-ldap-auth which works perfectly as the way it should with OpenLDAP, but when i am trying the same with the company's Active Directory using my credentials it throws error "Invalid Credentials". There is no issue with the credentials, I'm able to connect using AD Explorer (LDAP Browser).

Does anyone know what needs to be configured differently? Do I need to change something to connect to Active Directory? Is it something to do with the structure of the directory?

PLEASE HELP!!!

Thanks

Please sign in or create an account to participate in this conversation.