A brief tutorial on how to leverage LDAP to connect to Active Directory with PHP. Useful for authentication to Active Directory with PHP. Connect to Active Directory with PHPLDAP. Learn how to enable LDAP extension, connect and bind (Authenticate) with LDAP server. Example code: How to authenticate user against Active Directory via PHPLDAP. Make your PHP web application user able to login using Active Directory credential. Example C LDAP allows you to keep your user authentication across multiple systems centralized in one location. In this guide, we will cover how to configure a client Ubuntu 12.04 machine to connect to our LDAP server for user authentication. Tutorial. To use LDAPauthentication in a DreamFactory Instance, you must have the PHPLDAP extension enabled. Sign-in using LDAPAuthentication. Matthew Setter explains the basics of LDAP and how you can use it with PHP to store structured contact data Using the PHPLDAP calls. Before you can use the LDAP calls you will need to know . The name or address of the directory server you will use I'm looking for a way to authenticate users through LDAP with PHP (with Active Directory being the provider). Ideally, it should be able to run on IIS 7 (adLDAP does it on Apache). Example PHPLDAP login script for integration with Active Directory, authenticate username and password, check for group membership using memberof.