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 » Problem with setmqaut

Post new topic  Reply to topic Goto page 1, 2  Next
 Problem with setmqaut « View previous topic :: View next topic » 
Author Message
wbimb
PostPosted: Thu Apr 26, 2007 7:42 am    Post subject: Problem with setmqaut Reply with quote

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
View user's profile Send private message
marcin.kasinski
PostPosted: Thu Apr 26, 2007 8:25 am    Post subject: Re: Problem with setmqaut Reply with quote

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
View user's profile Send private message Visit poster's website
wbimb
PostPosted: Thu Apr 26, 2007 8:43 am    Post subject: Reply with quote

Centurion

Joined: 17 Aug 2006
Posts: 144

I tried the command with

-all

and still it shows me all the authorizations
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Thu Apr 26, 2007 8:46 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Please show here dspmqaut (before) setmqaut and dspmqaut (after) output.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
wbimb
PostPosted: Thu Apr 26, 2007 8:52 am    Post subject: Reply with quote

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
View user's profile Send private message
marcin.kasinski
PostPosted: Thu Apr 26, 2007 8:53 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Can you shw authorization before setmqaut command ?
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
wbimb
PostPosted: Thu Apr 26, 2007 8:58 am    Post subject: Reply with quote

Centurion

Joined: 17 Aug 2006
Posts: 144

they are the same which the dspmqaut shows
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Thu Apr 26, 2007 9:05 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
wbimb
PostPosted: Thu Apr 26, 2007 9:10 am    Post subject: Reply with quote

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
View user's profile Send private message
JosephGramig
PostPosted: Thu Apr 26, 2007 9:20 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
wbimb
PostPosted: Thu Apr 26, 2007 9:23 am    Post subject: Reply with quote

Centurion

Joined: 17 Aug 2006
Posts: 144

it is just a local user
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Thu Apr 26, 2007 9:23 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Right

Do the same with GUEST's groups .
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
marcin.kasinski
PostPosted: Thu Apr 26, 2007 9:24 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
wbimb
PostPosted: Thu Apr 26, 2007 9:26 am    Post subject: Reply with quote

Centurion

Joined: 17 Aug 2006
Posts: 144

no it is not
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Thu Apr 26, 2007 9:31 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General IBM MQ Support » Problem with setmqaut
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.