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 API Support » Access queue manager under a Unix ID in Windows

Post new topic  Reply to topic
 Access queue manager under a Unix ID in Windows « View previous topic :: View next topic » 
Author Message
gbarretta
PostPosted: Wed Sep 28, 2005 4:30 am    Post subject: Access queue manager under a Unix ID in Windows Reply with quote

Newbie

Joined: 27 Sep 2005
Posts: 2

Hi All

I am using c#.Net to attempt to connect to a queueManager using the MQQueueManager class. I am getting an MQRC_NOT_AUTHORIZED error message.
Our MQ team has provided me a Unix ID (that they have placed in the "mqm" group) to use to connect to the manager.
I cannot figure out how to connect to the queue from a windows environment with this Unix ID. I am the first one in
our company to attempt to connect to the queue with something other than Java. They mentioned an environment variable
may remedy the situation. Any ideas? Thanks ahead of time for your help!
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Sep 28, 2005 4:33 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can't do this with .NET. In fact, you can only do this with Java.

You can either create a new Windows user with the same userid, or you can have them establish a specific SVRCONN channel which has an MCAUSER set to the userid you need to use.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
tbp3272
PostPosted: Wed Sep 28, 2005 6:30 am    Post subject: Reply with quote

Newbie

Joined: 21 Jun 2002
Posts: 8

Can't you use the MQC.MQOO_ALTERNATE_USER_AUTHORITY property in the AccessQueue method to specify the application id???
_________________
IBM Certified System Administrator - WebSphere MQ V5.3
IBM Certified System Administrator - WebSphere Business Integration Message Broker V5
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Sep 28, 2005 6:34 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

tbp3272 wrote:
Can't you use the MQC.MQOO_ALTERNATE_USER_AUTHORITY property in the AccessQueue method to specify the application id???

That doesn't set the user id on the CONNECTION, only on the message.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
tbp3272
PostPosted: Wed Sep 28, 2005 6:38 am    Post subject: Reply with quote

Newbie

Joined: 21 Jun 2002
Posts: 8

But it still allows MQ to verify queue authorizations for an alternate userid, right?
_________________
IBM Certified System Administrator - WebSphere MQ V5.3
IBM Certified System Administrator - WebSphere Business Integration Message Broker V5
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Sep 28, 2005 6:38 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

tbp3272 wrote:
But it still allows MQ to verify queue authorizations for an alternate userid, right?


Once you've connected, yes.
_________________
I am *not* the model of the modern major general.
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 » IBM MQ API Support » Access queue manager under a Unix ID in Windows
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.