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 » mqm always in the user identifier in the message header

Post new topic  Reply to topic Goto page 1, 2  Next
 mqm always in the user identifier in the message header « View previous topic :: View next topic » 
Author Message
qwerty
PostPosted: Mon Jun 22, 2009 11:51 pm    Post subject: mqm always in the user identifier in the message header Reply with quote

Apprentice

Joined: 22 Jun 2009
Posts: 37

Hi,

I have 1 queue manager, when I send a message on this qmgr and I make a amqsbcgc command, I can look into the message header. The UserIdentifier is always mqm
but I send messages with 5 different users.

The problem is, that every user can send messages, even he has no rights and noc authorization to do that.

What can I do or where can I find a solution?

thank you 4 help =)

qwerty
Back to top
View user's profile Send private message
Pavan Kumar PNV
PostPosted: Mon Jun 22, 2009 11:54 pm    Post subject: Reply with quote

Acolyte

Joined: 03 Feb 2007
Posts: 66

What did you use to send messages? What userid is that utility/program running under?
_________________
_____________
Pavan Pendyala
http://pavanz.blogspot.com
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
qwerty
PostPosted: Tue Jun 23, 2009 12:05 am    Post subject: Reply with quote

Apprentice

Joined: 22 Jun 2009
Posts: 37

I used the sample programm amqsputc.

It is not mqm
always another user with NO AUTHORITY for this queue
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Tue Jun 23, 2009 12:08 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

Which channel are you usiing to connect to the QM. Is there an MCA user (mqm) set on the channel?
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Tue Jun 23, 2009 12:23 am    Post subject: Re: mqm always in the user identifier in the message header Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

qwerty wrote:
Hi,

I have 1 queue manager, when I send a message on this qmgr and I make a amqsbcgc command, I can look into the message header. The UserIdentifier is always mqm
but I send messages with 5 different users.

The problem is, that every user can send messages, even he has no rights and noc authorization to do that.

What can I do or where can I find a solution?

thank you 4 help =)

qwerty


Hows that possible that you are able to put the message using an id with no authorization on it ?
A message can only be put if an id is authorized to access mq objects. (or some loop whole is there in the method you used to put/get)
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
shashivarungupta
PostPosted: Tue Jun 23, 2009 12:28 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

Quote:
The UserIdentifier is always mqm

fyi...
When a MQ listener receives a message, if the "MCAUSER" of the SVRCONN channel is blank, then the MQMD.UserID from the message is used for security checking.
Check who is setting the value as mqm.
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
qwerty
PostPosted: Tue Jun 23, 2009 9:11 pm    Post subject: Reply with quote

Apprentice

Joined: 22 Jun 2009
Posts: 37

thanks shashivarungupta,

you solved my problem =)
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Tue Jun 23, 2009 9:27 pm    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

qwerty wrote:
thanks shashivarungupta,

you solved my problem =)



_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
qwerty
PostPosted: Tue Jun 23, 2009 10:25 pm    Post subject: Reply with quote

Apprentice

Joined: 22 Jun 2009
Posts: 37

Can somebody explain me the whole content?

The exact reason why the MCAUser is so important for all that?

and why it was changed to mqm?!
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Tue Jun 23, 2009 10:37 pm    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

qwerty wrote:
Can somebody explain me the whole content?

The exact reason why the MCAUser is so important for all that?

and why it was changed to mqm?!



This would help you a lot.
http://www.mqseries.net/phpBB2/viewtopic.php?t=43593

Read the link http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=/com.ibm.mq.csqzae.doc/ic17500_.htm


_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
shashivarungupta
PostPosted: Tue Jun 23, 2009 10:42 pm    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

qwerty wrote:
Can somebody explain me the whole content?

If you didn't know the reasons then how did you come out of the problem?

Anyways bestizzz.
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
qwerty
PostPosted: Wed Jun 24, 2009 12:46 am    Post subject: Reply with quote

Apprentice

Joined: 22 Jun 2009
Posts: 37

how can I set the MCAUSER on SVRCONN to blank?


and what problems do I have when I try to make a OAM security?
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Wed Jun 24, 2009 12:54 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

qwerty wrote:
how can I set the MCAUSER on SVRCONN to blank?


Where ? in your program ? Or in MQ Explorer ?

{In mq explorer, on svr conn channel Under MCA you would see MCAUserID, dont give anything there, it'll be treated as blank.}

Quote:
and what problems do I have when I try to make a OAM security?


OAM, gives authorization to certain ids/groups over mq objects (as qmgr, queue, process etc.). If application(s) are not using those ids then connection wont be granted to them. (make sure you have settings in the client and server side for security exit. At server your step would be settings at svrconn channel exit parameters, id creation and authorization to that. )

For that better you read OAM chapter in Administrative manual from IBM.
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
WMBDEV1
PostPosted: Wed Jun 24, 2009 12:56 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

qwerty wrote:
how can I set the MCAUSER on SVRCONN to blank?


What searches did you perform before asking this question or are you just expecting for us to spoonfeed you the answers to every MQ question you will ever have?
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Wed Jun 24, 2009 1:01 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

WMBDEV1 wrote:
qwerty wrote:
how can I set the MCAUSER on SVRCONN to blank?


What searches did you perform before asking this question or are you just expecting for us to spoonfeed you the answers to every MQ question you will ever have?


Agree !!

_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General IBM MQ Support » mqm always in the user identifier in the message header
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.