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 » MQCMD_INQUIRE_AUTH_RECS for MQOT_Q_MGR

Post new topic  Reply to topic
 MQCMD_INQUIRE_AUTH_RECS for MQOT_Q_MGR « View previous topic :: View next topic » 
Author Message
asgbobl
PostPosted: Tue Aug 05, 2014 11:38 am    Post subject: MQCMD_INQUIRE_AUTH_RECS for MQOT_Q_MGR Reply with quote

Newbie

Joined: 05 Aug 2014
Posts: 2

I am attempting to use the C MQI method MQCMD_INQUIRE_AUTH_RECS to determine an entity's authorities for various objects. The method works fine for non-qmgr objects - queues, channels, listeners, etc.

The problem is using it to retrieve authorities for the queue manager itself. InfoCenter says,

"Do not specify ProfileName if the value of ObjectType is MQOT_Q_MGR."

I take this to mean, omit the MQCACF_AUTH_PROFILE_NAME when specifying a value of MQOT_Q_MGR for MQIACF_OBJECT_TYPE.

However, doing so results in a reason of MQRCCF_CFST_CONFLICTING_PARM on WMQ 7.0.1 and MQRCCF_PROFILE_NAME_MISSING on WMQ 8.0.

If I specify the queue manager name in the MQCACF_AUTH_PROFILE_NAME, both WMQ 7.0.1 and 8.0 respond with MQRCCF_NONE_FOUND.

Any thoughts on what else to try, or how to troubleshoot this?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Aug 05, 2014 1:00 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Specify an empty value.
Back to top
View user's profile Send private message
asgbobl
PostPosted: Tue Aug 05, 2014 1:16 pm    Post subject: Reply with quote

Newbie

Joined: 05 Aug 2014
Posts: 2

Wow, that was way too easy. Now I feel silly.

Thanks mqjeff!!
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 » MQCMD_INQUIRE_AUTH_RECS for MQOT_Q_MGR
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.