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 » IBM MQ Installation/Configuration Support » RFHUtil 2035 Not authorized (Open) z/OS

Post new topic  Reply to topic Goto page 1, 2  Next
 RFHUtil 2035 Not authorized (Open) z/OS « View previous topic :: View next topic » 
Author Message
Rinku
PostPosted: Fri Jun 07, 2013 12:48 pm    Post subject: RFHUtil 2035 Not authorized (Open) z/OS Reply with quote

Newbie

Joined: 07 Jun 2013
Posts: 5

Hi,

I am trying to read a queue which seats in ZOS through RFHutil on my windows machine.

And each time I try to browse the queue I get an error "16.46.07 2035 Not authorized (Open)".

Interestingly I have Websphere MQ7.0 installed on my PC. When I try to connect to that qmgr using it it gets through. I am not sure what is going wrong with my RFHutil. I see the channel and ports looks ok to me. Help me plz.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Jun 07, 2013 1:39 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Contact your MQ Admin for the Queue Manager on z/OS, who will work with the z/OS RACF administers to grant you access. If they determine you should have access to that queue on that queue manager.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Rinku
PostPosted: Fri Jun 07, 2013 5:18 pm    Post subject: Reply with quote

Newbie

Joined: 07 Jun 2013
Posts: 5

Hi PeterPotkay,

Appreciate your quick reply.. What making me confuse is same Qmgr and same queue I can access using Websphere MQ explorer on my PC. It just the
RFHUtil does not work. So I am thinking am I missing anything in RFHutil.


Also in ZOS I do have access to that specific queue...
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Jun 07, 2013 6:14 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9470
Location: US: west coast, almost. Otherwise, enroute.

The most likely explanation is that your Windows username does not exist on z/OS. Windows domain does not extend to z/OS.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Sat Jun 08, 2013 5:41 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

bruce2359 wrote:
The most likely explanation is that your Windows username does not exist on z/OS. Windows domain does not extend to z/OS.

That doesn't explain the difference in behavior between 2 tools on his PC where one works and the other gets a 2035.


Compare the client connections details between the two tools. What channel name are you using with MQExplorer versus rfhutilc? Are you specifying client exit parameters with one and not the other? Are you using SSL with one and not the other?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sat Jun 08, 2013 7:11 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9470
Location: US: west coast, almost. Otherwise, enroute.

Look at the z/OS system log to see exactly what RACF rule was violated, and what userid violated the rule. Post the entire error text here.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Jun 08, 2013 8:15 am    Post subject: Reply with quote

Grand High Poobah

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

Most likely RFHUtilc flows a user id and MQExplorer does not...
Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqsiuser
PostPosted: Sat Jun 08, 2013 10:12 am    Post subject: Reply with quote

Yatiri

Joined: 15 Apr 2008
Posts: 637
Location: Germany

What is your Windows user name and what is your MCA-User-Name (on the Channel, that you use in RFH-Util)?

On Unix/AIX it is:
Code:
runmqsc <QMGR>
display channel <Channel>


On the output of the 2nd command: Look for the "MCA User" (Message Channel Agent User)

On Dev-Environments you may set the MCA-User to your windows user.
_________________
Just use REFERENCEs
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sat Jun 08, 2013 10:26 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9470
Location: US: west coast, almost. Otherwise, enroute.

fjb_saper wrote:
Most likely RFHUtilc flows a user id and MQExplorer does not...
Have fun

The Explorer can flow a userid. The Explorer prompts you to supply one.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Jun 08, 2013 2:28 pm    Post subject: Reply with quote

Grand High Poobah

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

bruce2359 wrote:
fjb_saper wrote:
Most likely RFHUtilc flows a user id and MQExplorer does not...
Have fun

The Explorer can flow a userid. The Explorer prompts you to supply one.

Can is the appropriate word. You're allowed to leave the field blank...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Rinku
PostPosted: Mon Jun 10, 2013 5:53 am    Post subject: Reply with quote

Newbie

Joined: 07 Jun 2013
Posts: 5

Thank you every one for your valuable information.. I took all your suggestion and tried to figure it out.

I tried to connect using both Websphere Explorer and RFHutil. And at the same time I was watching the the activity in Zos.

1. WebspereExplorer : It connects well and the same time I don't see any activity at the ZOS end. I believe it doesn't carry the userid.

2. RFHutil : failed with 2035 Not authorized (Open). And at the Zos end I could see it is carrying my windows id; which is apparently wrong.

09.33.41 STC27086 ACF01004 LOGONID RAMAKANT NOT FOUND
09.33.41 STC27086 ACF01004 LOGONID RAMAKANT NOT FOUND

Now I am not sure how to stop this? Any suggestion ??
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Jun 10, 2013 6:03 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9470
Location: US: west coast, almost. Otherwise, enroute.

Rinku wrote:
Now I am not sure how to stop this? Any suggestion ??

You need to have your z/OS security admin person authorize your userid on z/OS.

Just because you have authority on Windows, doesn't mean you have authority on z/OS, AIX, Solaris, Linux, iSeries, etc..
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Jun 10, 2013 7:58 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

bruce2359 wrote:
Rinku wrote:
Now I am not sure how to stop this? Any suggestion ??

You need to have your z/OS security admin person authorize your userid on z/OS.


No. The zOS admin needs to secure the channel to ensure that only correct users can connect and be authenticated, and that the channel enforces an MCA that provides authorization to necessary function for that channel.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Jun 10, 2013 8:25 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

fjb_saper wrote:
Most likely RFHUtilc flows a user id and MQExplorer does not...

MQ Explorer flows the User ID from the client machine up to the queue manager.

My guess is his MQ Explorer connects over a channel that has a hardoced MCAUSER that has access to the MQ resources on that queue manager, and the rfhutilc connection is being attempted over a different channel that does not have a hard coded MCAUSER, so his Windows ID (RAMAKANT) is being presented to the queue manager and RACF says no way.

But without having the details of the client side connection parameters from both tools and the channel details in full from the queue manager side we're just guessing. There are so many potential variables here with potential Exits, potential CHLAUTH rules, hard coded or blank MCAUSERs, unknown number of channels being used, etc.... all that impact what ID is actually being used for Authority checking.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jun 10, 2013 8:32 pm    Post subject: Reply with quote

Grand High Poobah

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

PeterPotkay wrote:
fjb_saper wrote:
Most likely RFHUtilc flows a user id and MQExplorer does not...

MQ Explorer flows the User ID from the client machine up to the queue manager.

One of these days, I'll have to take the time and check that. I always thought that if you did not specify a client ID, MQExplorer flowed a "blank" user id, thus giving the unsuspecting the power of the channel's agent Id (usually mqm or GOD) if no MCAUser was set on the channel...

So sorry what I really meant with the comment you quoted was that no user was specified to create the connection to the MF thus MQE flowing a "blank" user.

For the same case RFHUtilc always implicitly flows the userId of the user running the tool.


_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » RFHUtil 2035 Not authorized (Open) z/OS
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.