ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » 2035 - length of username

Post new topic  Reply to topic
 2035 - length of username « View previous topic :: View next topic » 
Author Message
mhubbard
PostPosted: Thu Aug 17, 2006 4:48 am    Post subject: 2035 - length of username Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Aug 17, 2006 4:56 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

UserIdentifier is a 12 character field.

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzak.doc/js01453.htm

On Unix, all security is done by GROUP, not by User.
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.amqzag.doc/amqzag0871.htm

If you have changed the members of a group at the OS level, you must issue REFRESH SECURITY in runmqsc or restart the queue manager.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mhubbard
PostPosted: Thu Aug 17, 2006 5:08 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Aug 17, 2006 5:12 am    Post subject: Reply with quote

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
View user's profile Send private message
mhubbard
PostPosted: Thu Aug 17, 2006 5:18 am    Post subject: Reply with quote

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
View user's profile Send private message
babloo4031
PostPosted: Thu Aug 17, 2006 5:21 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Aug 17, 2006 5:24 am    Post subject: Reply with quote

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
View user's profile Send private message
oz1ccg
PostPosted: Thu Aug 17, 2006 7:27 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
jefflowrey
PostPosted: Thu Aug 17, 2006 7:38 am    Post subject: Reply with quote

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
View user's profile Send private message
mhubbard
PostPosted: Thu Aug 17, 2006 8:33 am    Post subject: Reply with quote

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
View user's profile Send private message
mhubbard
PostPosted: Thu Aug 17, 2006 11:47 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Aug 17, 2006 1:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » 2035 - length of username
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.