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 Security » Help with security issue mqjexplorer 2035

Post new topic  Reply to topic
 Help with security issue mqjexplorer 2035 « View previous topic :: View next topic » 
Author Message
fernando28
PostPosted: Fri Jul 19, 2013 6:44 am    Post subject: Help with security issue mqjexplorer 2035 Reply with quote

Novice

Joined: 07 May 2013
Posts: 20

Hi MQ gurus!!!

I am trying to give read-only access to qmgr objects using mqjexplorer (not MQExplorer). I assume that mqjexplorer uses pcf messages to command server, am I right?

I have a server connection channel with a mcauser, and this user is not in mqm group. I am using this channel at mqjexplorer.

I've used setmqaut to give +allmqi access to qmgr and queues, and it's working fine for mqi commands

Now I want to give +dsp acess to qmgr objects, so I've tried to run setmqaut giving +dsp to profile '*.**' and all object types: qmgr, process, queue, ...

But every time I try to connect to qmgr using mqjexplorer I receive reason code 2035. So, to make a test I gave +alladm authority to this user, but 2035 still occurs.

What am I doing wrong? Thanks in advance!!! Sorry about my poor english... Best regards from Brazil...Fernando
Back to top
View user's profile Send private message
MQ_Lover
PostPosted: Fri Jul 19, 2013 7:20 am    Post subject: Reply with quote

Acolyte

Joined: 15 Jul 2013
Posts: 67

Did you give the SYSTEM.ADMIN.COMMAND.QUEUE also the required permissions, could be that is missing for the MCA user you have on the channel
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Jul 19, 2013 7:38 am    Post subject: Re: Help with security issue Reply with quote

Poobah

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

fernando28 wrote:

But every time I try to connect to qmgr using mqjexplorer I receive reason code 2035.

Look in the error log. Exactly what does the error say? Copy/paste the complete error message here.
_________________
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
bruce2359
PostPosted: Fri Jul 19, 2013 7:39 am    Post subject: Reply with quote

Poobah

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

Moved to Security forum.
_________________
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
Michael Dag
PostPosted: Fri Jul 19, 2013 8:05 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

is this a new queue manager created using version 7.1 or 7.5 ?

lookup Channel Authentication!
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
fernando28
PostPosted: Fri Jul 19, 2013 9:37 am    Post subject: Reply with quote

Novice

Joined: 07 May 2013
Posts: 20

Thanks for the answers, guys!!! I'm sorry to open this topic in wrong forum section....

I forgot to mention: MQ 6.0.2.9 (back level ), Linux x86.

Mcauser has authority +allmqi to SYSTEM.ADMIN.COMMAND.QUEUE, it has authority +allmqi to '*.**' queues
I've tried to grant +all to this user, and 2035 again!!!

AMQERR01.LOG have no entries for security issues

refresh security executed!!!

mqjexplorer only shows compcode 2 reason 2035. I'll try with mo71 - mqmon
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Jul 19, 2013 9:56 am    Post subject: Reply with quote

Poobah

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

fernando28 wrote:

AMQERR01.LOG have no entries for security issues

Which errors directory did you look in? The client? The server? Both?
_________________
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
fernando28
PostPosted: Fri Jul 19, 2013 10:23 am    Post subject: Reply with quote

Novice

Joined: 07 May 2013
Posts: 20

bruce2359 wrote:
fernando28 wrote:

AMQERR01.LOG have no entries for security issues

Which errors directory did you look in? The client? The server? Both?


Hi Bruce. Both: client (windows) and server ( /var/mqm/errors and /var/mqm/qmgrs/qm_name/errors ) and no security messages
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Jul 19, 2013 10:49 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Turn on Authority Events at the Queue Manager level, recreate the error and then look at the Event Message. It should tell you specifically what is throwing the 2035 error.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fernando28
PostPosted: Fri Jul 19, 2013 11:33 am    Post subject: Reply with quote

Novice

Joined: 07 May 2013
Posts: 20

PeterPotkay wrote:
Turn on Authority Events at the Queue Manager level, recreate the error and then look at the Event Message. It should tell you specifically what is throwing the 2035 error.


Thanks Peter!!! I'll try
Back to top
View user's profile Send private message
fernando28
PostPosted: Fri Jul 19, 2013 11:57 am    Post subject: Reply with quote

Novice

Joined: 07 May 2013
Posts: 20

PeterPotkay wrote:
Turn on Authority Events at the Queue Manager level, recreate the error and then look at the Event Message. It should tell you specifically what is throwing the 2035 error.


Thanks Peter. Problem solved. I don't know why, but userid had no authority to open SYSTEM.DEFAULT.MODEL.QUEUE (event msg showed this)

I've granted authority to queues this way:

setmqaut -m QMLI114 -n '*.**' -t queue -p usrsegmq +allmqi

Command ran ok, but '*.**' did not work. Don't know why!!!

Thanks for all your help, guys!!!
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Mon Jul 22, 2013 7:26 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

Better late than never... Read this:
http://hursleyonwmq.wordpress.com/2007/02/08/using-websphere-mq-explorer-as-a-read-only-viewer/
Back to top
View user's profile Send private message AIM Address
gbaddeley
PostPosted: Mon Jul 22, 2013 3:21 pm    Post subject: Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

JosephGramig wrote:
Better late than never... Read this:
http://hursleyonwmq.wordpress.com/2007/02/08/using-websphere-mq-explorer-as-a-read-only-viewer/

Also read chapter 9 of IBM Redbook Secure Messaging Scenarios with WebSphere MQ for more recent information
http://www.redbooks.ibm.com/abstracts/sg248069.html
_________________
Glenn
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Tue Jul 23, 2013 3:33 pm    Post subject: Re: Help with security issue mqjexplorer 2035 Reply with quote

Jedi Knight

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

fernando28 wrote:
I have a server connection channel with a mcauser, and this user is not in mqm group. I am using this channel at mqjexplorer.

I have a question.

MQJExplorer does NOT allow a user to specifies a channel when connecting to a remote queue manager - 1 of the reasons I stopped using it. It only accepts Remote Queue Manager Name and Connection Name. It explicitly uses SYSTEM.ADMIN.SVRCONN channel.

So, why all the security questions around the user using a different SVRCONN channel?

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
JosephGramig
PostPosted: Wed Jul 24, 2013 10:04 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

fernando28,

Why not use MQ Explorer (sPac MS0T)?

It is Java and you can specify an ID and channel for each Qmgr.

If you want security, then use SSL on each channel and CHLAUTH records.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Security » Help with security issue mqjexplorer 2035
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.