ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » .NET Client ID Connection to MQ

Post new topic  Reply to topic
 .NET Client ID Connection to MQ « View previous topic :: View next topic » 
Author Message
hollams
PostPosted: Thu Feb 29, 2024 8:58 am    Post subject: .NET Client ID Connection to MQ Reply with quote

Newbie

Joined: 29 Feb 2024
Posts: 1

We have a .NET client who is connecting to zos MQ with a userid that is not in RACF. We tried creating a channel auth record using the Client User ID but apparently we aren't matching the names correctly. We are using all lowercase letters.

We then created an auth record just using the IP address and the connection worked. Displaying the connection doesn't show the Client ID as I guess it's not supported on zOS.

Is there another way to see what the Client User ID is? The RACF message cut off the userid at 8 characters. We got the full name from the Application team but that didn't work either.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Thu Feb 29, 2024 1:28 pm    Post subject: Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2495
Location: Melbourne, Australia

While a connection is running, try displaying the channel status, and look at MCAUSER.

Try putting a message, and look at the MQMD UserIdentifier in the message.
_________________
Glenn
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Mar 01, 2024 11:51 pm    Post subject: Re: .NET Client ID Connection to MQ Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

hollams wrote:
We have a .NET client who is connecting to zos MQ with a userid that is not in RACF. We tried creating a channel auth record using the Client User ID but apparently we aren't matching the names correctly. We are using all lowercase letters.

We then created an auth record just using the IP address and the connection worked. Displaying the connection doesn't show the Client ID as I guess it's not supported on zOS.

Is there another way to see what the Client User ID is? The RACF message cut off the userid at 8 characters. We got the full name from the Application team but that didn't work either.


Depending on the client version (9.2.x) the userid running the client program will be truncated at 12 chars when running in distributed. To avoid this behavior and get the full userid the client MUST use the use_MQCSP_authentication. This can be set in the mqclient.ini for java programs... (JMQI stanza)...

Once you know what the client userid will look like, you can proxy it with the chlauth record.

One of the problems we had on distributed is that the client could never provide the correct password and as such either get proxied or connect. Turned out that the userid was getting truncated and as such userid and password could not match at authentication... Using the MQCSP structure for passing userid and password solved that problem...

Hope it helps some
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
hughson
PostPosted: Sat Mar 02, 2024 7:12 pm    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1916
Location: Bay of Plenty, New Zealand

Block the connection by not having a CHLAUTH rule for it in place and then view the queue manager error message which will show you the CLNTUSER that was presented.

See this blog post for an example.

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » .NET Client ID Connection to MQ
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.