How to Authenticate With ActiveDirectory LDAP Using PHP
Use PHP’s LDAP support. After installing it for your particular environment (I had PHP in a Linux environment), you can use the following function to verify AD access. In my case, I just wanted to ensure the user’s login was valid in AD and controlled ACL via the application database. …