2388 (0954) (RC2388): MQRC_LDAP_USER_NAME_ERROR


Explanation

On an MQCONNX call, an LDAP user name in an MQAIR record is not specified correctly. One of the following applies:

  • LDAPUserNameLength is greater than zero, but LDAPUserNameOffset is zero and LDAPUserNamePtr is the null pointer.
  • LDAPUserNameOffset is nonzero and LDAPUserNamePtr is not the null pointer.
  • LDAPUserNamePtr is not a valid pointer.
  • LDAPUserNameOffset or LDAPUserNamePtr points to storage that is not accessible.


Completion code

MQCC_FAILED


Programmer response

Ensure that one of LDAPUserNameOffset or LDAPUserNamePtr is zero and the other nonzero. Ensure that the field used points to accessible storage.

Parent topic: API reason codes