LDAP_INVALID_CREDENTIALS, which is LDAP Result Code 49, implies an Authentication Failure

Typically, the Distinguished Name (DN) or the password is invalid.

For LDAP_INVALID_CREDENTIALS there are some "server specific" information that maybe provided along with the LDAP Result Code.

We have some of the "server specific" and client results spelled out:

More Information#

There might be more information for this subject on one of the following: