We are looking for someone to write a simple PHP LDAP Authentication function. The function will take the input of a username and password and attempt to authenticate that user against an LDAP Source (need to work with Active Directory, openLDAP, and novel eDirectory). If the user is able to authenticate then the application will return an array with some basic user information from the ldap source (cn,sAMaccountName,givenName,sn, and email). We are looking simply for the PHP in function format. No front end or any other integration needed.