Hello,
We're in the process of preparing a new approach to access to MQ resources for administrators (and applications), and test results are not quite as expected.
Background:
- Migration of servers from Windows to Linux (RHEL)
- Mainly MQ clients
- Administration via runmqsc, MQ Console and MQ Explorer
- Users accounts managed by Active Directory
- MQ version 9.2.0.1
Administrators will be divided into 3 groups :
- FullAdmin
- PartialAdmin
- Reader
On the AD, the FullAdmin group was created, and account A001 is included in this group.
The script FullAdmin.mqsc gives almost all MQ rights to the FullAdmin group and ends with a REFRESH SECURITY.
On a freshly created Queue Manager (no additional CHLAUTH rules, unchanged AUTHINFO), the following tests are made with account A001 :
- CLI access via runmqsc: KO
- GUI access via MQ Console: KO
- GUI access via MQ Explorer from a workstation: KO
Everything is normal!
Now we run the FullAdmin.mqsc script on the Queue Manager. Result is :
- CLI access via runmqsc: OK
- GUI access via MQ Console: OK
- GUI access via MQ Explorer from a workstation: it depends ...
- If in the connection parameters the box "Activate user identification" is not checked: OK (the workstation user is A001)
- If in the connection parameters the box "Enable user identification" is checked: KO (AMQ5534E: user A001 authentication failed / 2035)
More interesting :
If we test the MQ Client access from a Windows workstation, here are the results:
From the A001 account:
set MQSERVER=channel/TCP/host(port)
amqsputc Q1 QM1 --> OK
If now we specify a user :
set MQSERVER=channel/TCP/host(port)
set MQSAMP_USER_ID=A001
amqsputc Q1 QM1
Sample AMQSPUT0 start
Enter password:
KO error 2035
With both MQ Explorer and the MQ client, as soon as the account password is specified, the connection fails.
However, the same password used via a putty or MQConsole session is accepted.
I don't understand why when using MQ client the password is rejected.
Who would have an idea?
Thank you for your input.
------------------------------
Luc-Michel Demey
DEMEY CONSULTING
lmd@demey-consulting.fr------------------------------