Author |
Message
|
Schwab |
Posted: Thu Mar 14, 2002 5:22 pm Post subject: |
|
|
Novice
Joined: 26 Oct 2001 Posts: 11
|
Hi,
In MQMD header field Useridentifier if I specify the correct user( user which is in mqm group) everything works O.K.
But if we define a user which is not in mqm group we get a MQRCCF_DUPLICATE_IDENTITY error, and our subscription queue is blocked and we do not get any response back from the qmanager(reason 2033).
Any help will be highly appreciated.
Windows 2000 client
AIX server
MQI C
regards.
|
|
Back to top |
|
 |
Schwab |
Posted: Fri Mar 15, 2002 3:23 pm Post subject: |
|
|
Novice
Joined: 26 Oct 2001 Posts: 11
|
ignore MQRCCF_DUPLICATE_IDENTITY in the previous post.
If I specify a user which does not exist I get 2033 error upon sending
subscription request. After this error occurs I can not even use the same queue (local) again for the user which is in mqm group.
Thanks
schwab.
|
|
Back to top |
|
 |
mrlinux |
Posted: Mon Mar 18, 2002 4:56 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
First what version of MQSeries and what CSD level.
_________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
Schwab |
Posted: Mon Mar 18, 2002 1:18 pm Post subject: |
|
|
Novice
Joined: 26 Oct 2001 Posts: 11
|
MQseries for windows2000 v5.2
csd level not sure.
Thanks. |
|
Back to top |
|
 |
kolban |
Posted: Mon Mar 18, 2002 5:10 pm Post subject: |
|
|
 Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
I think we can use a bit more info. What does your application do? What queue is it getting messages from? Have you specified a messageid or correlid? What language is the app written in? Is it an MQ Client or is it server bound? |
|
Back to top |
|
 |
mrlinux |
Posted: Tue Mar 19, 2002 5:11 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Well there are no CSD related fixs.
_________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
Schwab |
Posted: Tue Mar 19, 2002 2:28 pm Post subject: |
|
|
Novice
Joined: 26 Oct 2001 Posts: 11
|
MQI C
Publication/subscription.
My Windows 2000 client (written using MQI C & compiled with mqic32.dll)
subcribes and publishes msgs to MQSeries Server running on AIX server.
No I am not using CorrlID or messageID.
I have a user account (say user_1) on the server machine and user_1 is in mqm group.
I have the same user account user_1 on the client machine.
when I log on to the client machine as user_1 I can publish to and subscribe from the mqserver running on AIX machine just fine.
But if I log on to the macine as some other user, say user_2 who does not have an account on the server machine, off course it does not work and I get authentication error.
What I want to know is, Can we use the userIdentifier field in the MQMD header to pass the user info and be able to communicate with the server, no matter which user is logged on to the client machine??
While I was logged on to the client machine as user_1(the good user ).
I tried setting the userIdentifier field inthe MQMD header with user_1 and with the option MQPMO_SET_IDENTITY_CONTEXT when I use MQPUT to send subscription request to the server. it seems to work O.K.
But when I am logged on to the client machine as user_2 and try to send subscription request to the broker I never get a response back from the broker.
Questions:
Do we have to have an account on the server to be able to pub/sub.??
or there is a way that instead of having an account on the server machine
can we define users for certain QManager, and use that user in our MQMD header on client side and be able to pub/sub.
Thanks.
I hope what I have explained above is readable.
|
|
Back to top |
|
 |
|