dbair Posted September 7, 2010 Share Posted September 7, 2010 I am able to connect to my AD server successfully. This server serves multiple domains. Example is [email protected] is able to successfully bind. [email protected] is not able to bind but gets error 49: invalid credentials. Using windows ldp.exe, I can connect successfully, then select bind from the connection menu, enter the username (user2), the account password, and the Domain (dom2.com) and the result indicated is successful. Using php I attempt to bind using: $adBind = ldap_bind($ad, $adUname, $ldappass); Where $ad = successful connection resource, $adUname = [email protected] OR [email protected], $ldappass is the account password. As user1 it is successful, with user2 it is unable to bind with error 49. Any suggestions or help is greatly appreciated. Thanks in advance! Link to comment https://forums.phpfreaks.com/topic/212786-ldap_bind-returns-error-49-invalid-credentials/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.