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 Discussion » setmqaut issue?

Post new topic  Reply to topic
 setmqaut issue? « View previous topic :: View next topic » 
Author Message
rgprasanna
PostPosted: Mon Jan 05, 2009 7:32 am    Post subject: setmqaut issue? Reply with quote

Voyager

Joined: 02 May 2007
Posts: 91
Location: Chennai - India

Hi All,

just i'm trying to grant a put authority to an non-mqm user (ordinary windows user without any extra privileges)..
issued the following command
setmqaut -m QM4 -n LQ1 -t queue -p test +put
the command got executed successfully..but while i'm trying to put a message on LQ1 queue while logged in as test user..i got an 2035 mqrc not authorized error...even after issuing the refresh security command in QM4..i got the same error...is there anything need to taken care apart from the command?

Thanks in advance
_________________
Prasanna
Back to top
View user's profile Send private message
bbburson
PostPosted: Mon Jan 05, 2009 8:20 am    Post subject: Reply with quote

Partisan

Joined: 06 Jan 2004
Posts: 378
Location: Nowhere near a queue manager

You also must give the user +connect authorization to the queue manager itself. Using your information above the command would be

Code:
setmqaut -m QM4 -t qmgr -p test +connect
Back to top
View user's profile Send private message
rgprasanna
PostPosted: Tue Jan 06, 2009 1:31 am    Post subject: Reply with quote

Voyager

Joined: 02 May 2007
Posts: 91
Location: Chennai - India

yeah...it works after i gave enough privileges to test user to connect to the queue manager....thanks a lot
_________________
Prasanna
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jan 06, 2009 3:13 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

And remember ... should you use JMS you need to add inq authorization...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
shashivarungupta
PostPosted: Wed Feb 25, 2009 3:05 am    Post subject: Re: setmqaut issue? Reply with quote

Grand Master

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

rgprasanna wrote:
Hi All,

just i'm trying to grant a put authority to an non-mqm user (ordinary windows user without any extra privileges)..
issued the following command
setmqaut -m QM4 -n LQ1 -t queue -p test +put
the command got executed successfully..but while i'm trying to put a message on LQ1 queue while logged in as test user..i got an 2035 mqrc not authorized error...even after issuing the refresh security command in QM4..i got the same error...is there anything need to taken care apart from the command?

Thanks in advance


HEY,

FOR queue manager :
setmqaut -m QM1 -t qmgr -p "ID" +connect +dsp +inq -set -altusr -chg -setall

FOR Queues :
setmqaut -m QM1 -n "Q" -t queue -p "ID" +browse +dsp +get +put +inq +passall +passid -setall -setid

this works.

Remember REFRESH SECURITY is not required generally when you deal with setmqaut and dspmqaut etc. Its required when ssl related changes are being done on the queue manager objects.
Please refer the OAM document provided by IBM for more details.

Thanks
Varun Gupta
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » setmqaut issue?
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.