Author |
Message
|
rgprasanna |
Posted: Mon Jan 05, 2009 7:32 am Post subject: setmqaut issue? |
|
|
 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 |
|
 |
bbburson |
Posted: Mon Jan 05, 2009 8:20 am Post subject: |
|
|
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 |
|
 |
rgprasanna |
Posted: Tue Jan 06, 2009 1:31 am Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Tue Jan 06, 2009 3:13 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20763 Location: LI,NY
|
And remember ... should you use JMS you need to add inq authorization...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
shashivarungupta |
Posted: Wed Feb 25, 2009 3:05 am Post subject: Re: setmqaut issue? |
|
|
 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 |
|
 |
|