Author |
Message
|
Michael Dag |
Posted: Wed Mar 02, 2005 2:30 am Post subject: dspmqaut vs amqoamd output bug? |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
When displaying authorities using dspmqaut and amqoamd I get different values:
Code: |
C:\>dspmqaut -m WBY -n SYSTEM.DEFAULT.AUTHINFO.CRLLDAP -t authinfo -g mqm
Entity mqm has the following authorizations for object SYSTEM.DEFAULT.AUTHINFO.CRLLDAP:
inq
crt
dlt
chg
dsp |
Code: |
D:\>amqoamd -m WBY -n SYSTEM.DEFAULT.AUTHINFO.CRLLDAP -t authinfo
AMQOAMD
********
Queue Manager - WBY
ObjectType: authinfo
ObjectName: SYSTEM.DEFAULT.AUTHINFO.CRLLDAP
User name: mqm@............
Authorities: inq set chg dlt dsp (0x001e07ff)
SID: S-1-5-21-395365176-2825154928-2872335979-1007 |
Notice the absence of set in the dspmqaut output, instead it displays crt
This is on a test system, W2K, WMQ 5.3 CSD1
I checked the readme of CSD9 to see if any fixes have been applied to the dspmqaut command, but did not see one that refers to this.
Can someone see if this applies also to other environments like AIX and Solaris?
Did I find a bug? _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
Nigelg |
Posted: Wed Mar 02, 2005 5:41 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
This looks like IY55063, fixed in CSD08. |
|
Back to top |
|
 |
Michael Dag |
Posted: Wed Mar 02, 2005 5:50 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
Nigel, thanks I will load CSD8 onto the test system.
and see if the problem goes away. _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
Michael Dag |
Posted: Wed Mar 02, 2005 6:57 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
Loaded CSD8 and set is no longer displayed on amqoamd output for authinfo.
so set is not a valid option for authinfo
how come crt is not displayed by amqoamd ??? _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
bbburson |
Posted: Wed Mar 02, 2005 1:36 pm Post subject: |
|
|
Partisan
Joined: 06 Jan 2004 Posts: 378 Location: Nowhere near a queue manager
|
MichaelDag wrote: |
how come crt is not displayed by amqoamd ??? |
crt is shown under the "@class" object for each object type in amqoamd. You see @class information if you ask for it explicitly, or if you do not specify an object name (-n flag) on the amqoamd command line.
Code: |
...
ObjectType: queue
ObjectName: @class
Principal: mqm
Authorities: crt (0x00010000)
Principal: patrol
Authorities: None (0x00000000)
... |
|
|
Back to top |
|
 |
Michael Dag |
Posted: Mon Mar 07, 2005 4:30 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
ok... sorted out the amqoamd and dspmqaut commands and results
now I find setmqaut returns the success message (The setmqaut command completed successfully.) to the error stream (this is on WMQ 5.3 Windows CSD8)
Code: |
setmqaut -m WBY -t queue -n QREMOTE -p validuser +browse >succes.txt 2>error.txt
setmqaut -m WBY -t queue -n QREMOTE -p invaliduser +browse >succes.txt 2>error.txt |
For both commands the output is sent to error.txt and succes.txt remains empty.
Shouldn't setmqaut return the succes message to the normal output? _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
|