Hello Francois,
Thank you for reply.
the MQ client version is 7.0.1.10 and Queue manager version is 9.4, I am using MQCSP structure to connect to queue manager from its client.
Below is on queue manager:
I am using SYSTEM.DEFAULT.AUTHINFO.IDPWOS authentication on queue manager.
the client check is CHCKCLNT(REQDADM) on the authinfo and ADOPTCTX(YES)
the user id is 12 character and password is 30 character.
As per Morag blog is
Application team updated below in JVM arguments.
java -Dcom.ibm.mq.cfg.jmqi.useMQCSPauthentication=Y application_name
----- amqrmrsa.c : 628 --------------------------------------------------------
05/02/2025 01:54:13 PM - Process(2931871.1525) User(mqm) Program(amqzlaa0)
Host(uc3600pmq01) Installation(Installation1)
VRMF(9.4.0.5) QMgr(RVCQPP1)
Time(2025-05-02T17:54:13.364Z)
CommentInsert1(LcrsvABCptxy)
CommentInsert2(WebSphere MQ Client for Java)
CommentInsert3(Pipe returned 2035 [FAILED])
AMQ5534E: User ID 'LcrsvABCptxy' authentication failed
EXPLANATION:
The user ID and password supplied by the 'WebSphere MQ Client for Java' program
could not be authenticated.
Additional information: 'Pipe returned 2035 [FAILED]'.
ACTION:
Ensure that the correct user ID and password are provided by the application.
Ensure that the authentication repository is correctly configured. Look at
previous error messages for any additional information. If MQ was installed
using the unzip mechanism, you must not set the authentication method option
for your configured CONNAUTH object to "OS"
----- amqzfuca.c : 4932 -------------------------------------------------------
05/02/2025 01:54:13 PM - Process(2931871.1525) User(mqm) Program(amqzlaa0)
Host(uc3600pmq01) Installation(Installation1)
VRMF(9.4.0.5) QMgr(RVCQPP1)
Time(2025-05-02T17:54:13.364Z)
CommentInsert1(LcrsvABCptxy)
CommentInsert2(SYSTEM.DEFAULT.AUTHINFO.IDPWOS)
CommentInsert3(CHCKCLNT(REQDADM))
AMQ5542I: The failed authentication check was caused by the queue manager
CONNAUTH CHCKCLNT(REQDADM) configuration.
EXPLANATION:
The user ID 'LcrsvABCptxy' and its password were checked because the queue
manager connection authority (CONNAUTH) configuration refers to an
authentication information (AUTHINFO) object named
'SYSTEM.DEFAULT.AUTHINFO.IDPWOS' with CHCKCLNT(REQDADM).
This message accompanies a previous error to clarify the reason for the user ID
and password check.
ACTION:
Refer to the previous error for more information.
Ensure that a password is specified by the client application and that the
password is correct for the user ID. The authentication configuration of the
queue manager connection determines the user ID repository. For example, the
local operating system user database or an LDAP server.
Note that if the authentication configuration specifies an LDAP user
repository, a CHCKCLNT value of REQADM is treated as equivalent to a value of
OPTIONAL.
If the CHCKCLNT setting is OPTIONAL, the authentication check can be avoided by
not passing a user ID across the channel. For example, by omitting the MQCSP
structure from the client MQCONNX API call.
To avoid the authentication check, you can amend the authentication
configuration of the queue manager connection, but you should generally not
allow unauthenticated remote access.
------------------------------
K Priyanka
------------------------------
Original Message:
Sent: Fri May 02, 2025 01:18 AM
From: Francois Brandelik
Subject: MCA password does not it allow more then 12 character
There is not such thing as the MCA userid's password.
There is however a userid used in the authentication context that can then be populated to the MCAUSER
Did you force the use of the MQCSP structure for passing userid and password in the authentication call?
Note that in some versions of MQ for Java/JMS the defaults about using the MQCSP structure for the authentication call have changed.(9.3.0.4 and above comes to mind)
You could also review the entries in your application's mqclient.ini to force the use of the MQCSP structure if your MQ Java version is not too old!
Hope it helps
------------------------------
Francois Brandelik
Original Message:
Sent: Thu May 01, 2025 01:43 PM
From: K Priyanka
Subject: MCA password does not it allow more then 12 character
Hello All,
I am getting an error when the MCA user id's password is more the 12 character, is it not possible to use MCA password more the 12 character.?
'Pipe returned 2023[Failed]'
Thanks
KP
------------------------------
K Priyanka
------------------------------