How can you do an Active Directory lookup via PHP? Without needing to recompile PHP. PHP version is 5.3
I want to find a persons display name from their user name. Web s
The fisrt parameter of ldap_get_entries function is incorrect:
ldap_get_entries
$info = ldap_get_entries($ldapconn, $sr);
Tested in this way and your code works now.