Author |
Message
|
wbimb |
Posted: Thu Apr 26, 2007 7:42 am Post subject: Problem with setmqaut |
|
|
 Centurion
Joined: 17 Aug 2006 Posts: 144
|
I am getting an unusual problem with setmqaut command
When i run the command
setmqaut -m LONDON -t queue -n Q1 -p GUEST +connect
where GUEST is the user
but when i run the dspmqaut command it still shows me all the authorizations to the GUEST command.
Can someone tell me what I am doing wrong |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Thu Apr 26, 2007 8:25 am Post subject: Re: Problem with setmqaut |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
wbimb wrote: |
I am getting an unusual problem with setmqaut command
When i run the command
setmqaut -m LONDON -t queue -n Q1 -p GUEST +connect
where GUEST is the user
but when i run the dspmqaut command it still shows me all the authorizations to the GUEST command.
Can someone tell me what I am doing wrong |
With this command you specifies the authorizations to be given (+) or removed (-).
If you want to remove authorizations you have to specify it with this command
Code: |
setmqaut -m LONDON -t queue -n Q1 -p GUEST +connect -inq -... |
_________________ Marcin |
|
Back to top |
|
 |
wbimb |
Posted: Thu Apr 26, 2007 8:43 am Post subject: |
|
|
 Centurion
Joined: 17 Aug 2006 Posts: 144
|
I tried the command with
-all
and still it shows me all the authorizations |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Thu Apr 26, 2007 8:46 am Post subject: |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
Please show here dspmqaut (before) setmqaut and dspmqaut (after) output. _________________ Marcin |
|
Back to top |
|
 |
wbimb |
Posted: Thu Apr 26, 2007 8:52 am Post subject: |
|
|
 Centurion
Joined: 17 Aug 2006 Posts: 144
|
C:\>setmqaut -m LONDON -t queue -n Q1 -p GUEST -all
The setmqaut command completed successfully.
C:\>dspmqaut -m LONDON -t queue -n Q1 -p GUEST
Entity GUEST has the following authorizations for object Q1:
get
browse
put
inq
set
crt
dlt
chg
dsp
passid
passall
setid
setall
clr |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Thu Apr 26, 2007 8:53 am Post subject: |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
Can you shw authorization before setmqaut command ? _________________ Marcin |
|
Back to top |
|
 |
wbimb |
Posted: Thu Apr 26, 2007 8:58 am Post subject: |
|
|
 Centurion
Joined: 17 Aug 2006 Posts: 144
|
they are the same which the dspmqaut shows |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Thu Apr 26, 2007 9:05 am Post subject: |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
Please try:
setmqaut -m LONDON -t queue -n Q1 -p GUEST +connect -get -browse - -put -inq -set -crt -dlt -chg -dsp -passid -passall -setid -setall -clr _________________ Marcin |
|
Back to top |
|
 |
wbimb |
Posted: Thu Apr 26, 2007 9:10 am Post subject: |
|
|
 Centurion
Joined: 17 Aug 2006 Posts: 144
|
I tried tht and see the output
C:\>setmqaut -m LONDON -t queue -n Q1 -p GUEST -get -browse -put -inq -set -crt -dlt -chg -dsp -passid -passall -se
-setall -clr
The setmqaut command completed successfully.
C:\>dspmqaut -m LONDON -t queue -n Q1 -p GUEST
Entity GUEST has the following authorizations for object Q1:
get
browse
put
inq
set
crt
dlt
chg
dsp
passid
passall
setid
setall
clr |
|
Back to top |
|
 |
JosephGramig |
Posted: Thu Apr 26, 2007 9:20 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
Most likely, GUEST is in a group that has permission.
What groups is GUEST in and do those have any permissions? _________________ Joseph
Administrator - IBM WebSphere MQ (WMQ) V6.0, IBM WebSphere Message Broker (WMB) V6.1 & V6.0
Solution Designer - WMQ V6.0
Solution Developer - WMB V6.1 & V6.0, WMQ V5.3 |
|
Back to top |
|
 |
wbimb |
Posted: Thu Apr 26, 2007 9:23 am Post subject: |
|
|
 Centurion
Joined: 17 Aug 2006 Posts: 144
|
|
Back to top |
|
 |
marcin.kasinski |
Posted: Thu Apr 26, 2007 9:23 am Post subject: |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
Right
Do the same with GUEST's groups . _________________ Marcin |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Thu Apr 26, 2007 9:24 am Post subject: |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
wbimb wrote: |
it is just a local user |
OK, but is he a member of any group ? _________________ Marcin |
|
Back to top |
|
 |
wbimb |
Posted: Thu Apr 26, 2007 9:26 am Post subject: |
|
|
 Centurion
Joined: 17 Aug 2006 Posts: 144
|
|
Back to top |
|
 |
marcin.kasinski |
Posted: Thu Apr 26, 2007 9:31 am Post subject: |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
wbimb wrote: |
no it is not |
Hm,strange.
Are you sure ?
On my computer GUEST is member of GUESTS grup. _________________ Marcin |
|
Back to top |
|
 |
|