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 » IBM MQ Installation/Configuration Support » MQ adding spaces at the end of my ID causing 2035

Post new topic  Reply to topic
 MQ adding spaces at the end of my ID causing 2035 « View previous topic :: View next topic » 
Author Message
flwilliams87
PostPosted: Thu Sep 26, 2013 10:08 am    Post subject: MQ adding spaces at the end of my ID causing 2035 Reply with quote

Acolyte

Joined: 04 Feb 2003
Posts: 66
Location: Chicago, IL

I create a userid on Linus using useradd TEST01
I grant permission to created ID using setmqaut -m QM1 -t queue -n TESTQ -p TEST01 +allmqi
I sudo to created ID su - TEST01
and try to put messages on queue ./qmsput TEST1 QM1

FAIL! I check the error logs and it says AMQ8077: Entity 'TEST01 ' has insufficeint authority to access object.

My question is... where did the extra spaces come from?
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Thu Sep 26, 2013 11:02 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

always add users in all lower case letters for all distributed platforms. Not uppper. Not mixed case.

Lower Case I said!
Back to top
View user's profile Send private message AIM Address
flwilliams87
PostPosted: Thu Sep 26, 2013 11:09 am    Post subject: Tried lower case. Sill adding appending spaces Reply with quote

Acolyte

Joined: 04 Feb 2003
Posts: 66
Location: Chicago, IL

Just tried lower case and it is still showing/adding appending spaces in the error logs. Thoughts?
Back to top
View user's profile Send private message
exerk
PostPosted: Thu Sep 26, 2013 11:10 am    Post subject: Re: Tried lower case. Sill adding appending spaces Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

flwilliams87 wrote:
Just tried lower case and it is still showing/adding appending spaces in the error logs. Thoughts?

Did you refresh security?
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
flwilliams87
PostPosted: Thu Sep 26, 2013 11:19 am    Post subject: Did the refresh security command Reply with quote

Acolyte

Joined: 04 Feb 2003
Posts: 66
Location: Chicago, IL

Did the refresh security command and it's still appending spaces...
Back to top
View user's profile Send private message
exerk
PostPosted: Thu Sep 26, 2013 11:27 am    Post subject: Re: Did the refresh security command Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

flwilliams87 wrote:
Did the refresh security command and it's still appending spaces...

Create a group, put the user in the group and make sure that the group you created is the user's Primary group. Run the command again using -g [group name] instead of the principle (-p) name. Refresh security and post the results again please.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Thu Sep 26, 2013 11:31 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

First, when you grant in UNIX with -p it actually grants to the primary group of that ID.

Never grant with -p in UNIX.

Second, did you mean you su - test01
And then, ./amqsput TEST1 QM1

?

And what does amqoamd -s -m TEST1 |grep -v mqm
say?
Back to top
View user's profile Send private message AIM Address
flwilliams87
PostPosted: Thu Sep 26, 2013 11:44 am    Post subject: created group and added user Reply with quote

Acolyte

Joined: 04 Feb 2003
Posts: 66
Location: Chicago, IL

created a group, deleted the user, recreated the user added it group. granted the group +allmqi permissions to the queue. Still getting error message with appending spaces...

VRMF(7.5.0.1) QMgr(QM1)

AMQ8077: Entity 'newuser ' has insufficient authority to access object
'QM1'.
Back to top
View user's profile Send private message
flwilliams87
PostPosted: Thu Sep 26, 2013 11:50 am    Post subject: I feel real special righ now... Reply with quote

Acolyte

Joined: 04 Feb 2003
Posts: 66
Location: Chicago, IL

Please feel free to flame away. I granted the group permission to my Queue Manager and viola. I'm sorry for wasting everyone's time. Thanks for the help.
Back to top
View user's profile Send private message
exerk
PostPosted: Thu Sep 26, 2013 12:04 pm    Post subject: Re: I feel real special righ now... Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

flwilliams87 wrote:
Please feel free to flame away. I granted the group permission to my Queue Manager and viola. I'm sorry for wasting everyone's time. Thanks for the help.

You didn't waste anyone's time - it keeps us sharp!

More importantly, you learned a valuable lesson.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
mvic
PostPosted: Thu Sep 26, 2013 12:45 pm    Post subject: Re: MQ adding spaces at the end of my ID causing 2035 Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

flwilliams87 wrote:
My question is... where did the extra spaces come from?

MQ very often appends spaces in fixed-length fields. It's not an error.
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 » IBM MQ Installation/Configuration Support » MQ adding spaces at the end of my ID causing 2035
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.