Jump to content

ldap_bind returns error 49 Invalid credentials


dbair

Recommended Posts

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!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.