" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

Authenticate Active Directory user through LDAP in PHP

Posted on November 23rd, 2015 by Manish Agarwal

Authenticate Active Directory user through LDAP in PHP: – Create login form with two field username and password. – On submit of this login form get the submitted data…  – Append the ‘Account Suffix’ with the username. – Connect AD server to your local setup using ‘ldap_connect’ function.  – Check whether the provided details are […]