Author |
Message
|
gbarretta |
Posted: Wed Sep 28, 2005 4:30 am Post subject: Access queue manager under a Unix ID in Windows |
|
|
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 |
|
 |
jefflowrey |
Posted: Wed Sep 28, 2005 4:33 am Post subject: |
|
|
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 |
|
 |
tbp3272 |
Posted: Wed Sep 28, 2005 6:30 am Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Wed Sep 28, 2005 6:34 am Post subject: |
|
|
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 |
|
 |
tbp3272 |
Posted: Wed Sep 28, 2005 6:38 am Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Wed Sep 28, 2005 6:38 am Post subject: |
|
|
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 |
|
 |
|