MQ

MQ

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  MQ Explore read only

    Posted Mon July 15, 2024 11:02 AM

    Hello all 

    I've some users in AD domain1 asking read only access to use MQ Explorer on their windows workstations. These users belong to AD domain1 and the queue manager is running in another domain: AD domain2. How can I validate, from my queue manager, running with a service user from AD domain1, the users from another AD domain? Does my service used need some special permissions? 

    After solving this part of the question, I need to five some accesses to que queue manager queues, and the examples I found suggests to give 

    setmqaut -m <qmgr>  -n SYSTEM.ADMIN.COMMAND.QUEUE -t q -g "read_group" +dsp +inq +put

    Put to SYSTEM.ADMIN.COMMAND.QUEUE can be a risk, I guess. 

    Thanks for your suggestions



    ------------------------------
    Joao Ramires
    ------------------------------


  • 2.  RE: MQ Explore read only

    Posted Tue August 13, 2024 05:06 AM

    Hi Joao,

    I presume you are looking at,

    https://www.ibm.com/docs/en/ibm-mq/9.4?topic=grar-granting-read-only-access-all-resources-queue-manager

    Authority to access an object is still required even if you can put a message on the command queue.



    ------------------------------
    Regards,

    Martin Evans
    IBM MQ Technical Product Manager
    ------------------------------



  • 3.  RE: MQ Explore read only

    Posted Tue August 13, 2024 05:34 AM
    Hi Martin 
     
    thanks for your reply. I know about that link, but what makes me some confusing is the:
     
    setmqaut -m QMgrName -n SYSTEM.ADMIN.COMMAND.QUEUE -t queue -g GroupName +dsp +inq +put
     
     
    a user with put authority to SYSTEM.ADMIN.COMMAND.QUEUE can do whatever he wants on a queue manager, for example using PCF messages. Or I'm I wrong?
    Regards 


    ------------------------------
    Joao Ramires
    ------------------------------



  • 4.  RE: MQ Explore read only

    Posted Tue August 13, 2024 05:44 AM

    Hi Joao,

    The user that put the PCF message must have authority to access the objects(s) it is working with. That's why you need the other authorisations listed in the link, for example you wouldn't be able to browse queues without setmqaut -m QMgrName -n ** -t queue -g GroupName +browse +dsp the ** is a special wildcard that applies to all queues.



    ------------------------------
    Regards,

    Martin Evans
    IBM MQ Technical Product Manager
    ------------------------------



  • 5.  RE: MQ Explore read only

    Posted Tue August 13, 2024 09:35 AM

    thanks Martin,

    and the user that puts a PCF messages can alter his own access to other queues? For example do, with a PCF, the equivalent to 

    setmqaut -m QMgrName -n ** -t queue -g GroupName +browse +get



    ------------------------------
    Joao Ramires
    ------------------------------



  • 6.  RE: MQ Explore read only

    Posted Tue August 13, 2024 03:46 PM

    Hi Joao,

    The user can only issue setmqaut or the equivalent MQSC SET AUTHREC or PCF SetAuthRec commands if he has authority to do so. This is true for all commands. Just having PUT access to the command server's input queue does not in itself grant you authority to issue commands, you must also the authority for the actual commands as well.

    Cheers,
    Morag



    ------------------------------
    Morag Hughson
    MQ Technical Education Specialist
    MQGem Software Limited
    Website: https://www.mqgem.com
    ------------------------------



  • 7.  RE: MQ Explore read only

    Posted Fri August 16, 2024 04:46 AM

    Hi Morag and Martin, thanks for you answers

    Regards

    joao 



    ------------------------------
    Joao Ramires
    ------------------------------