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 » setmqaut Question?

Post new topic  Reply to topic
 setmqaut Question? « View previous topic :: View next topic » 
Author Message
aballuff
PostPosted: Wed Nov 27, 2002 9:22 am    Post subject: setmqaut Question? Reply with quote

Newbie

Joined: 21 Oct 2002
Posts: 6

ALL,
I'm trying to run a setmqaut command and getting this error:
setmqaut -m tst.qmgr -t qmgr -p batchcatmquser +connect
AMQ7026: A principal or group name was invalid.
The userid is a valid unix id. and the setmqaut works with other userids.

Is there a limitation on the length of a userid in OAM?

Thanks much
A
Back to top
View user's profile Send private message
Bill57
PostPosted: Wed Nov 27, 2002 11:09 am    Post subject: Reply with quote

Apprentice

Joined: 26 Jul 2002
Posts: 35
Location: Atlanta, GA

AMQ7026 Specificlly means the principal name does not exist at the operating system level. Doubble (or tripple) check to make sure the Id exits in UNIX, and make sure you spelled it correctly on the command line (or script if thats what your doing)



Good luck
_________________
Bill Anderson
MQSeries Developer
Back to top
View user's profile Send private message
bduncan
PostPosted: Wed Nov 27, 2002 2:35 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

It may seem redundant, but try
'su - batchcatmquser' to make sure the user truly exists.
If so, then perhaps you've created the user since you last recycled the queue manager? I believe this shouldn't be necessary, but perhaps there is some problem and the queue manager is unaware of the existence of this particular user because it was created recently. You might want to try stoping and then restarting the queue manager to see if the problem goes away...
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
nimconsult
PostPosted: Wed Nov 27, 2002 11:02 pm    Post subject: Reply with quote

Master

Joined: 22 May 2002
Posts: 268
Location: NIMCONSULT - Belgium

If I remember well, the userid is limited to 12 characters on non-Windows platforms.

I am not quite sure that the limit applies to setmqaut (but apparently it does). At least I am sure that the limit applies to MQSC commands.

Nicolas
_________________
Nicolas Maréchal
Senior Architect - Partner

NIMCONSULT Software Architecture Services (Belgium)
http://www.nimconsult.be
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bill57
PostPosted: Thu Nov 28, 2002 5:55 am    Post subject: Reply with quote

Apprentice

Joined: 26 Jul 2002
Posts: 35
Location: Atlanta, GA

Nicolas has a good point; the UserIdentifier field in the MQMD header is a data type of MQCHAR12. When an application connects The user Id of the connecting application is used by the OAM to determine if the application is authorized to connect, and then it saves the id in the header for checking more authority type stuff during the up coming MQOPEN. Any value greater than 12 characters would have been truncated, and would no longer be valid at the OS level.

For that reason, I would bet the setmqaut utility checks the length of the principal.

Cheers, and happy turkey day!
_________________
Bill Anderson
MQSeries Developer
Back to top
View user's profile Send private message
aballuff
PostPosted: Fri Nov 29, 2002 7:33 am    Post subject: Reply with quote

Newbie

Joined: 21 Oct 2002
Posts: 6

HI ALL,
I've triple checked the id (by su - to the id ) , re-started the qmgr and still no go. I think I'm going to just shorten the id and see what happens.

Happy Shopping day:-)
AJB


Bill57 wrote:
Nicolas has a good point; the UserIdentifier field in the MQMD header is a data type of MQCHAR12. When an application connects The user Id of the connecting application is used by the OAM to determine if the application is authorized to connect, and then it saves the id in the header for checking more authority type stuff during the up coming MQOPEN. Any value greater than 12 characters would have been truncated, and would no longer be valid at the OS level.

For that reason, I would bet the setmqaut utility checks the length of the principal.

Cheers, and happy turkey day!
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 » setmqaut Question?
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.