Author |
Message
|
mhubbard |
Posted: Thu Aug 17, 2006 4:48 am Post subject: 2035 - length of username |
|
|
 Acolyte
Joined: 25 Aug 2004 Posts: 54
|
I have searched and search both here and the MQ Docs and just can't seem to get 100% confirmation.
Would someone please confirm or deny for me that in MQ 5.3 on Linux, I am limited to 8 character usernames. This seems to be what I am experiencing, but I can't seem to find it stated.
If it is so, has anyone seen any good ways around this?
Thank you
Mike Hubbard _________________ Michael J. Hubbard |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Aug 17, 2006 4:56 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
mhubbard |
Posted: Thu Aug 17, 2006 5:08 am Post subject: |
|
|
 Acolyte
Joined: 25 Aug 2004 Posts: 54
|
Thank you for the response. Could you please help me, then figure out my problem.
I can sit and add users all day long to the mqm group - then make sure they are known to my mq servers - then refresh security - and they all work like a charm....provided the usernames are 8 characters or less.
As soon as I try a username of length 9 or greater....(length of 12 in the example that I just tried) I get 2035 on my attempt to connect to the queue manager. _________________ Michael J. Hubbard |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Aug 17, 2006 5:12 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You're saying that if you define a user with a 12 character name, and then add it to mqm and then refresh security...
and then log off the user and log back on to make sure it knows that it's in the mqm group, then you get a 2035? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mhubbard |
Posted: Thu Aug 17, 2006 5:18 am Post subject: |
|
|
 Acolyte
Joined: 25 Aug 2004 Posts: 54
|
Yes - Here are the exact steps of my test.
On Client Box -
1. logon as root.
2. add user - say jethro
3. add jethro to mqm group.
4. go to server where queue manager is running and logon as root.
5. add user jethro and put him in the mqm group.
6. refresh security in the queue manager.
7. Go back to the client box.
8. su to jethro and invoke my C++ client program which attempts to connect to the queue manager and read a queue.
9. Works great.
10. Repeat steps 1-9 with user jethrobodine and get 2035 attempting to make connection. _________________ Michael J. Hubbard |
|
Back to top |
|
 |
babloo4031 |
Posted: Thu Aug 17, 2006 5:21 am Post subject: |
|
|
Novice
Joined: 08 Jul 2006 Posts: 18
|
Please try by installing CSD12 Patch . I did face a similar problem couple of weeks ago and got it it resolved by applying this patch. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Aug 17, 2006 5:24 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Client is also Linux?
What happens if you log in as jethrobodine on the server machine and run amqsgetc with an appropriate MQSERVER variable?
There used to be documentation on this - in the 5.2 timeframe if I remember. It seems to have slipped by the wayside somewhere. It's probably worth opening a PMR and asking for clarification and a documentation update. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
oz1ccg |
Posted: Thu Aug 17, 2006 7:27 am Post subject: |
|
|
 Yatiri
Joined: 10 Feb 2002 Posts: 628 Location: Denmark
|
What about enable security events on the queue manager to see why and which user is rejected....
-- Lock it or Lose it --  _________________ Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Aug 17, 2006 7:38 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I was expecting NigelG to suggest that, but you chimed in.
I think it's better to first determine if it's an issue with the client OS or app - thus my suggestion about using the server machine and amqsputc. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mhubbard |
Posted: Thu Aug 17, 2006 8:33 am Post subject: |
|
|
 Acolyte
Joined: 25 Aug 2004 Posts: 54
|
Working with all these suggestions now. Thank you for all the input. I will post my findings as sonn as I can. _________________ Michael J. Hubbard |
|
Back to top |
|
 |
mhubbard |
Posted: Thu Aug 17, 2006 11:47 am Post subject: |
|
|
 Acolyte
Joined: 25 Aug 2004 Posts: 54
|
Thanks very, very much for all the responses.
The results were exactly the same with amqsgetq executed right on the server box. jethro worked and jethrobodine did not.
CSD12 has fixed the problem. Note that it had to be installed on both client and server sides.
Thanks again _________________ Michael J. Hubbard |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Aug 17, 2006 1:07 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
mhubbard wrote: |
CSD12 has fixed the problem. Note that it had to be installed on both client and server sides. |
babloo4031 for the win! _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|