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 Previous  1, 2
 mqm always in the user identifier in the message header « View previous topic :: View next topic » 
Author Message
qwerty
PostPosted: Wed Jun 24, 2009 3:06 am    Post subject: Reply with quote

Apprentice

Joined: 22 Jun 2009
Posts: 37

I read really a lot about mq

sry...i have to say more details...


ok..
i use the Putty Tool
when I run "runmqsc" for my QMGR
and I type
alter chl(CHL NAME) chltype(svrconn) MCAUser( )

what do I have to write in the brackets after MCAUser
When I write nothing like MCAUser() or MCAUser("") it´s a syntax error

what´s the command for blank?
Back to top
View user's profile Send private message
Pavan Kumar PNV
PostPosted: Wed Jun 24, 2009 3:11 am    Post subject: Reply with quote

Acolyte

Joined: 03 Feb 2007
Posts: 66

alter chl(CHANNEL_NAME) CHLTYPE(SVRCONN) MCAUSER('') .. not double quotes
_________________
_____________
Pavan Pendyala
http://pavanz.blogspot.com
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
shashivarungupta
PostPosted: Wed Jun 24, 2009 3:11 am    Post subject: Reply with quote

Grand Master

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

qwerty wrote:
I read really a lot about mq

sry...i have to say more details...


ok..
i use the Putty Tool
when I run "runmqsc" for my QMGR
and I type
alter chl(CHL NAME) chltype(svrconn) MCAUser( )

what do I have to write in the brackets after MCAUser
When I write nothing like MCAUser() or MCAUser("") it´s a syntax error

what´s the command for blank?


alter channel(EXPERIMENTSVRCONN) CHLTYPE(SVRCONN) MCAUSER('')
7 : alter channel(EXPERIMENTSVRCONN) CHLTYPE(SVRCONN) MCAUSER('')
AMQ8016: WebSphere MQ channel changed.

Single Quotes will do !!
_________________
*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 3:13 am    Post subject: Reply with quote

Apprentice

Joined: 22 Jun 2009
Posts: 37

OAM:

I have actived the OAM, and added User and groups.
With the setmqaut I can give authorizations to Users or/and groups.

That´s not the problem

I´m able to give authorization and to take it away.

My question was....when I use OAM, are there basic underlying things that I have to change in the system, which block the OAM in doing his work.

Or things that can´t cooperate with the OAM

sry for all the Questions without any details for you...

qwerty
Back to top
View user's profile Send private message
qwerty
PostPosted: Wed Jun 24, 2009 3:14 am    Post subject: Reply with quote

Apprentice

Joined: 22 Jun 2009
Posts: 37

thanks for the first
Back to top
View user's profile Send private message
Pavan Kumar PNV
PostPosted: Wed Jun 24, 2009 3:15 am    Post subject: Reply with quote

Acolyte

Joined: 03 Feb 2007
Posts: 66

MQ takes care of what needs to be be done behind the curtains. All you need to do is use setmqauth.
_________________
_____________
Pavan Pendyala
http://pavanz.blogspot.com
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
shashivarungupta
PostPosted: Wed Jun 24, 2009 3:17 am    Post subject: Reply with quote

Grand Master

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

qwerty wrote:
OAM:
My question was....when I use OAM, are there basic underlying things that I have to change in the system, which block the OAM in doing his work.
Or things that can´t cooperate with the OAM


If you are not manually/explicitly disturbing the mq internal processes (as amqzfuma for OAM) then i dont think there would any.
Another thing, if you are not modifying/deleting the queue/its contents SYSTEM.AUTH.DATA.QUEUE then I dont think there would any.
_________________
*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: Wed Jun 24, 2009 3:22 am    Post subject: Reply with quote

Grand Master

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

Pavan Kumar PNV wrote:
MQ takes care of what needs to be be done behind the curtains. All you need to do is use setmqauth.


There is no 'h' in setmqaut

C:\>setmqaut
AMQ7093: An object type is required but you did not specify one.
Usage: setmqaut [-m QMgrName] [-n ObjName] -t ObjType (-p Principal | -g Group)
[-s ServiceComponent] Authorizations
_________________
*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 3:23 am    Post subject: Reply with quote

Apprentice

Joined: 22 Jun 2009
Posts: 37

ok...thanks =)

only for my understanding

I make a amqsputc command
I´d like to put a message on a local Q (LOCALQ)

amqsputc LOCALQ

The User who wants to put the message connects to the server. and he always has the authorizations of the MCAUser.

am I right?
Back to top
View user's profile Send private message
qwerty
PostPosted: Wed Jun 24, 2009 3:25 am    Post subject: Reply with quote

Apprentice

Joined: 22 Jun 2009
Posts: 37

sry that was a typing mistake
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Jun 24, 2009 3:28 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

READ, and if you don't understand, READ AGAIN! It's all there in the manuals, and the questions you are asking display either a lack of understanding of those manuals, or indicate that you are only skimming them, not actually reading them.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
qwerty
PostPosted: Thu Jun 25, 2009 12:04 am    Post subject: Reply with quote

Apprentice

Joined: 22 Jun 2009
Posts: 37

qwerty wrote:
ok...thanks =)

only for my understanding

I make a amqsputc command
I´d like to put a message on a local Q (LOCALQ)

amqsputc LOCALQ

The User who wants to put the message connects to the server. and he always has the authorizations of the MCAUser.

am I right?

----------
If the MCA user identifier is nonblank, it specifies the user identifier to be used by the message channel agent for authorization to access WebSphere® MQ resources.
----------

so it is right?
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Thu Jun 25, 2009 12:36 am    Post subject: Reply with quote

Grand Master

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

Quote:
If the MCA user identifier is nonblank, it specifies the user identifier to be used by the message channel agent for authorization to access WebSphere® MQ resources.


If you would have read the link ("MQVB and MQVE Exploiting an MQ Security Hole?" and the Comments by Roger) given (in the above posts) then you wouldn't have asked this question.
Answer to this question is there itself.

_________________
*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
RogerLacroix
PostPosted: Thu Jun 25, 2009 1:25 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,

MQ has huge, HUGE, HUGE security holes when a user does a basic setup/install of WMQ Server. A basic setup/install of WMQ Server potentially allows any user to freely access any message in any queue. Under this scenario, any user can browse, insert, update or delete messages in any queue and there would be no record of this activity.

If the user specifies "blank" then MQEnvironment.userID variable is not set. (Hence, it has a default of blank.) This is a well known security hole in WMQ. See my comments here:
http://www.mqseries.net/phpBB2/viewtopic.php?t=17842

Any and EVERY Java (and Java/JMS) application that does not explicitly set a UserID then the a blank UserID will be used by the WMQ client code.

It is a little more difficult to exploit MQ in MO71 (MQMon), RFHUtil, etc.. but it can be done with a dummy client-side security exit like the one I posted here. When you use any client-side security exit, MQ automatically blanks out the UserId!!! Weird, but true.
http://www.mqseries.net/phpBB2/viewtopic.php?t=21782

Bottom line, use either SSL or a security exit to secure your queue managers.

Commercial MQ security solutions are:

For end-to-end authentication security solution for MQ:

1. Capitalware's MQ Authenticate User Security Exit
2. IBM's WebSphere MQ Extended Security Edition V6
3. Primeur's Data Secure for WebSphere MQ

A server-side (verification) only MQ security solution:
1. Capitalware's MQ Standard Security Exit


Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
bruce2359
PostPosted: Thu Jun 25, 2009 2:01 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9482
Location: US: west coast, almost. Otherwise, enroute.

Quote:
MQ has huge, HUGE, HUGE security holes when a user does a basic setup/install of WMQ Server.

I'd have said that WMQ arrives in the box with no security enabled. It's the responsibility of system admins to enable security to meet business requirements.

Quote:
Bottom line, use either SSL or a security exit to secure your queue managers.

SSL and security exits secure channel ends, not the qmgr. But you knew that.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 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.