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 » WebSphere Message Broker (ACE) Support » SYSTEM.BKR.CONFIG MCAUSER attribute being ignored

Post new topic  Reply to topic
 SYSTEM.BKR.CONFIG MCAUSER attribute being ignored « View previous topic :: View next topic » 
Author Message
jonesn
PostPosted: Wed Jun 24, 2009 5:11 am    Post subject: SYSTEM.BKR.CONFIG MCAUSER attribute being ignored Reply with quote

Apprentice

Joined: 09 Jan 2002
Posts: 47

I have a toolkit running on XP & I want to connect it to an AIX configuration manager. The XP userid is not defined on the AIX box but I have another userid, configured correctly (setmqaut/mqsicreateacl), on the AIX box. This is a test box so the security implications of forcing in the user in this manner are not a major concern.

I created a new SVRCONN channel on the AIX queue manager with MCAUSER attribute containing the AIX user. I tested this using amqsputc from XP to AIX and the message appears on the queue with the correct (AIX) userid.

So you would expect it to be a simple matter of using this channel name when I create the domain connection in the toolkit? Unfortunately this is not the case & I get an error indicating that the XP user does not have permission...

BIP1711W: The ConfigManagerProxy is not viewable by user XPDomain\XPUser

An attempt was made to view or manipulate the ConfigManagerProxy with UUID '', but the user who initiated this operation does not have the required authority to do so.

Ask the domain's administrator to grant your user ID the necessary authority to perform the requested action.


The postings on this subject on this site suggest that MCAUSER should work and I have used this technique many times before to force a particular userid into a message so am quite surprised by the error.

I am using...
Toolkit: 6.1.0.2
Broker: 6.1.0.2
WMQ: 6.0.2.4

Is anyone aware of any additional configuration on the toolkit to get this configuration to work?

Thanks
_________________
---

Nick Jones
IBM Certified Solutions Expert (WebSphere MQ Integrator)
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jun 24, 2009 5:23 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The MCAUSER only gets you MQ permissions, and only alters things at the MQ transport layer.

You need to use mqsicreateaclentry for user XPDomain\XPuser, regardless of whether or not the AIX security registry knows how to talk to XPDomain and authenticate XPUser.
Back to top
View user's profile Send private message
jonesn
PostPosted: Wed Jun 24, 2009 5:46 am    Post subject: Reply with quote

Apprentice

Joined: 09 Jan 2002
Posts: 47

mqjeff.

Thanks for your help, I am now able to connect to the configuration manager.

Am I correct in thinking that the XPuser is passed in the body of the message and that the AIXuser is put into the MQMD.UserIdentifier attribute? The MQMD.UserIdentifier allows the message to be put to the queue and the XPuser is used to authenticate at the configuration manager level.

Regards
_________________
---

Nick Jones
IBM Certified Solutions Expert (WebSphere MQ Integrator)
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jun 24, 2009 6:57 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

That's probably not correct as you've written it, no.

The MCAUSER on the channel replaces the identity provided by the Toolkit for the purposes of MQ authorization.

The ConfigMgr uses some portion of the MQ message, probably an undocumented portion, to perform it's own authorization for ConfigMgr actions. MCAUSER does not alter the MQ message in any way.
Back to top
View user's profile Send private message
jonesn
PostPosted: Wed Jun 24, 2009 7:22 am    Post subject: Reply with quote

Apprentice

Joined: 09 Jan 2002
Posts: 47

For SVRCONN channels the content of the MCAUSER attribute replaces the MQMD.UserIdentifier attribute. This is not the case for the normal MQ channels.

This is proved by creating a SVRCONN channel containing an MCAUSER attribute & putting a message using amqsputc. The MCAUSER content appears in the message.

Regards
_________________
---

Nick Jones
IBM Certified Solutions Expert (WebSphere MQ Integrator)
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 » WebSphere Message Broker (ACE) Support » SYSTEM.BKR.CONFIG MCAUSER attribute being ignored
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.