Using PHP and LDAP to connect to Microsoft Office 365
===

The company that I work for has migrated their local exchange to a hosted Office 365 solution.  We are in the process of building out several externally(to our local network) hosted websites and would like to use LDAP authentication to build upon our existing, hosted user base.

Can anyone explain or point to some documentation of a way to use PHP and LDAP to connect to a remotely hosted AD (in this case Office 365) and authenticate users to it?

Thank you for your time and effort.