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 » General IBM MQ Support » Report messages & queue authorizations

Post new topic  Reply to topic
 Report messages & queue authorizations « View previous topic :: View next topic » 
Author Message
MVO
PostPosted: Sat Apr 20, 2002 7:28 pm    Post subject: Reply with quote

Centurion

Joined: 09 Sep 2001
Posts: 131

From my local queue manager qmA, I'm sending a message to a queue of the remote queue manager qmB with report option COD to my local reply-to queue as user U1. There is no remote definition of my local reply-to queue on B. User U1 is not defined there either.

At the remote server: when the message is "get" from the remote queue, MQ failed to send the COD to my local reply-to queue due to reason MQRC_NOT_AUTHORIZED - user U1 is not authorized to put message to xmit queue qmA. In order to resolve this, at the remote server, we have to issue the setmqaut command to allow the "public" group allapi on xmit queue qmA.

However, any users can "put" a message to any remote queue via mqput. Why does MQ treat report messages differently ? Am I missing something here ?

Thanks


Back to top
View user's profile Send private message
mqonnet
PostPosted: Sat Apr 20, 2002 10:21 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Hi MVO,

The reason you are facing this Authorization problem is because of OAM. I would suspect that your remote queue manager is hosted on NT/2000. And since you dont have a Principal mapped for the userid which is being used you are using on the local system, on the remote system, you are facing this problem. Let me give you an example to help you understand what you need to do to resolve this problem.

Consider you have 2 platforms, Hp-Ux->NT.
You have a message being sent from Hp to nt requesting a COD. On HP you are logged in as "FRED". When you put the message on remote queue to go over to NT, the userid which goes along with it is always "FRED", or on some platforms it is "mqm"/principal to which "FRED" is mapped to. But when the message is supposed to be COD'd at the remote end, the Kernal uses the useridentifier within the message to Check the authorities to put message on any queue, including the remote queue onto which you want the reply/COD be sent. Since you dont have "FRED" as a principal on NT, you are not authorized to put any message. And COD fails with 2035.
Hence the resolution to this is to add a principal called "FRED" on NT, so that COD is authenticated.

Hope this helps.

Cheers.
Kumar

_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
crossland
PostPosted: Mon Oct 10, 2011 6:31 am    Post subject: Reply with quote

Master

Joined: 26 Jun 2001
Posts: 248

The problem that I am facing is that the command is being generated by user mqm on Unix. The receiving Windows server is then generating a 2035 when it tries to generate a response.

Windows will not let me create a userid called mqm as there is a group called mqm.

Any suggestions on how to authorise mqm?

The MCA userid has already been set on the receiver channel. However, MQ uses MQPMO_PASS_IDENTITY_CONTEXT for the response.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Oct 10, 2011 6:37 am    Post subject: Reply with quote

Poobah

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

This exact issue (COD and COA) has been discussed here many times. Click the search button at the top of is page.
_________________
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
crossland
PostPosted: Mon Oct 10, 2011 7:01 am    Post subject: Reply with quote

Master

Joined: 26 Jun 2001
Posts: 248

Such a quick response - thank you so much.

So the search continues...
Back to top
View user's profile Send private message
crossland
PostPosted: Tue Oct 11, 2011 1:58 am    Post subject: Reply with quote

Master

Joined: 26 Jun 2001
Posts: 248

For anyone else encountering this problem, the following link might be useful:

http://www.mail-archive.com/mqseries@listserv.meduniwien.ac.at/msg08564.html
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Report messages & queue authorizations
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.