Today I had problem with account name length between Linux and Active Directory.
Environment:
- Linus RHEL 7.6
- MQ 9103
- no SSL
Users are checked by the OS via AD (on a Windows server).
MQ administrators belong to an AD group (MQADM), and ALL rights were given to this group via SET AUTHRECs.
This type of configuration works perfectly on other Linux servers.
Here the account "abc" belongs to the group "MQADM".
From the Linux command line, I can do a su - abc. But a runmqsc fails "no rights".
Via MQ Explorer (specifying a user / password), same error.
In /var/mqm/errors, there are many FDCs, and in AMQERR01.LOG, I got:
08/22/2019 03:09:40 PM - Process (27493.1) User (abc@) Program (runmqsc)
Host (xxxxxx) Installation (Installation1)
VRMF (9.1.0.3)
Time (2019-08-22T13: 09: 40.179Z)
RemoteHost (.)
ArithInsert1 (1082155384)
CommentInsert1 (xcsGetpwuid got password entry with user name too long (more than 13 characters).)
CommentInsert3 (A user name of "UNKNOWN" will be used, which will likely cause later authorization failures.) Note this FFST can be turned off by exporting env AMQ_NOFFST_PROCESS_UID.)
AMQ6125E: An internal IBM MQ error has occurred.
Obviously the AD query retrieves the long name of the user, which is too long for MQ.
Any ideas to avoid this problem?
Thanks !
------------------------------
Luc-Michel Demey
DEMEY CONSULTING
------------------------------