|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ V8 how to provide userid for dspmqaut? |
« View previous topic :: View next topic » |
Author |
Message
|
issac |
Posted: Wed Oct 26, 2016 10:00 pm Post subject: MQ V8 how to provide userid for dspmqaut? |
|
|
 Disciple
Joined: 02 Oct 2008 Posts: 158 Location: Shanghai
|
Hello,
I've set CONNAUTH to my self-defined AUTHINFO, which specifies CHCKLOCL to REQUIRED.
Code: |
mqm@VSUSE:/var/mqm/qmgrs/MQTEST/errors> runmqsc -u mqm MQTEST
5724-H72 (C) Copyright IBM Corp. 1994, 2015.
Enter password:
***
Starting MQSC for queue manager MQTEST.
DIS AUTHINFO(USE.PW) ALL
1 : DIS AUTHINFO(USE.PW) ALL
AMQ8566: Display authentication information details.
AUTHINFO(USE.PW) AUTHTYPE(IDPWOS)
ADOPTCTX(NO) DESCR( )
CHCKCLNT(REQUIRED) CHCKLOCL(REQUIRED)
FAILDLAY(3) ALTDATE(2016-10-27)
ALTTIME(01.27.39) |
I can runmqsc, but there's no -u parameter for dspmqaut. how to provide a userid/password for dspmqaut?
Quote: |
mqm@VSUSE:/var/mqm/qmgrs/MQTEST/errors> dspmqaut -m MQTEST -t qmgr -p mqm
AMQ7077: You are not authorized to perform the requested operation. |
Quote: |
mqm@VSUSE:/var/mqm/qmgrs/MQTEST/errors> dspmqaut -?
AMQ7027: Argument -? supplied to command dspmqaut is invalid.
Usage: dspmqaut [-m QMgrName] [-n ObjName] -t ObjType
(-p Principal | -g Group) [-s ServiceComponent]
-g User group name.
-m Queue manager name.
-n Profile name, either an object name or a generic profile name.
-t Object type:
authinfo, channel, clntconn, comminfo, listener,
namelist, process, queue, qmgr, rqmname, service,
topic.
-p Principal name.
-s Name of the authorization service.
mqm@VSUSE:/var/mqm/qmgrs/MQTEST/errors>
|
_________________ Bazinga! |
|
Back to top |
|
 |
issac |
Posted: Wed Oct 26, 2016 10:01 pm Post subject: |
|
|
 Disciple
Joined: 02 Oct 2008 Posts: 158 Location: Shanghai
|
qmgr error log does indicate it's because of lacking a userid:
Quote: |
----- amqzfuca.c : 4692 -------------------------------------------------------
10/27/2016 01:37:08 AM - Process(9193.23) User(mqm) Program(amqzlaa0)
Host(VSUSE) Installation(Installation1)
VRMF(8.0.0.4) QMgr(MQTEST)
AMQ5540: Application 'dspmqaut' did not supply a user ID and password
EXPLANATION:
The queue manager is configured to require a user ID and password, but none was
supplied.
ACTION:
Ensure that the application provides a valid user ID and password, or change
the queue manager configuration to OPTIONAL to allow applications to connect
which have not supplied a user ID and password.
|
_________________ Bazinga! |
|
Back to top |
|
 |
hughson |
Posted: Sun Oct 30, 2016 2:06 pm Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
You can use DISPLAY AUTHREC commands from within runmqsc, so you don't need to use dspmqaut.
Cheers
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|