Hi there,
We implemented the following for our MQ Explorer users. Note that when they configure their connection in MQ Explorer, we ask them to hardcode their mainframe userid in the appropriate section, and tick the "Prompt for password" box, so that they must enter their mainframe password every time they connect using MQ Explorer.
SET CHLAUTH('SYSTEM.ADMIN.SVRCONN') TYPE(ADDRESSMAP) ADDRESS(*) USERSRC(CHANNEL)
The channel above (which will be used by everyone using MQ Explorer ) has USERSRC(CHANNEL) set to glean their userid on connection, so we can then check object access within the MXQUEUE MXTOPIC MQCMDS etc classes in RACF...
Now, how to request their password too.
First, set the QMGR to use a CONNAUTH:
ALTER QMGR CONNAUTH(USE.PW)
Now, DEFINE an authinfo object that says we're using RACF (IDPWOS) to verify userids and passwords:
DEFINE AUTHINFO(USE.PW) + <-- name matches CONNAUTH name
AUTHTYPE(IDPWOS) + <-- rather than IDPWLDAP
FAILDLAY(10) +
CHCKLOCL(OPTIONAL) + <-- for local apps like CICS and batch...
CHCKCLNT(OPTIONAL) <-- set this OPTIONAL here, and then set REQUIRED on the CHLAUTH used by the concerned channel
REFRESH SECURITY TYPE(CONNAUTH)
Now, update the CHLAUTH for the MQ Explorer channel:
SET CHLAUTH(SYSTEM.ADMIN.SVRCONN) +
ACTION(REPLACE) +
TYPE(ADDRESSMAP) +
ADDRESS(*) +
CHCKCLNT(REQUIRED) + ß here we force the authentication check for anyone/thing using this channel
USERSRC(CHANNEL)
------------------------------
Rebecca Mayer
------------------------------
Original Message:
Sent: Fri August 19, 2022 08:38 AM
From: Gale Anderson
Subject: MQ Explorer connect to Mainframe MQ using CHLAUTH and/or CONNAUTH
Can anyone assist with connecting the MQ Explorer from Windows to Mainframe MQ using CHLAUTH and/or CONNAUTH? We had been using CSQ4BCX3 and connecting until we were required to go to MFA (Multi Factor Authentication). We were told that MQ would support MFA with the latest release of MQ. We were disappointed to learn that IBM will NOT be supporting MFA in these connections as MQ authenticates credentials multiple times with each 'click' of the mouse. To put it another way, when you click on a different queue, channel, process, etc. The MQ connection credentials are reauthenticated to determine if the userid has proper access to perform the function being requested. As such, we are told that this connection authentication is no longer available, because of MFA, and that we need to pursue alternate means of connecting such as CHLAUTH and/or CONNAUTH. Has anyone else done this? What is required? I was sent a link and I understand some of what is being stated, but I am not certain exactly how to implement it. It seems to imply that my IP Address will be used to determine if I can be granted access or blocked. However IP Addresses seem to be dynamically allocated at the time of login or connection (VPN).
------------------------------
Gale Anderson
------------------------------