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 » User Id for setmqaut

Post new topic  Reply to topic
 User Id for setmqaut « View previous topic :: View next topic » 
Author Message
dev135
PostPosted: Wed Nov 11, 2009 6:41 pm    Post subject: User Id for setmqaut Reply with quote

Apprentice

Joined: 21 Oct 2008
Posts: 44

Hi,

Does a user id needs to exist on server if i need to run setmqaut command on any platform?
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Nov 11, 2009 6:58 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

The User ID must be known to the server.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
dev135
PostPosted: Wed Nov 11, 2009 7:26 pm    Post subject: Reply with quote

Apprentice

Joined: 21 Oct 2008
Posts: 44

Thanks Peter...

Is it not possible to define setmqaut without user id existing on server on any platform ???because i remember someone told it can be defined...
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Nov 11, 2009 8:20 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

dev135 wrote:
because i remember someone told it can be defined...


Then ask this someone how they did it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Wed Nov 11, 2009 11:31 pm    Post subject: Re: User Id for setmqaut Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

dev135 wrote:
Hi,

Does a user id needs to exist on server if i need to run setmqaut command on any platform?

I believe you know the setmqaut command and its parameters .. if yes., then you should also know that the userid should be defined there on the server where you are executing the command.
Otherwise during exit handshake the authentication will fail as your userid does not exist on the server.
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
aditya.aggarwal
PostPosted: Mon Nov 16, 2009 9:48 am    Post subject: Reply with quote

Master

Joined: 13 Jan 2009
Posts: 252

One can define the user id of remote application in mcauser field of SVRCONN Channel...

This id can be autheticated using setmqauth...

Regards,
Aditya
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Nov 16, 2009 10:52 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

aditya.aggarwal wrote:
One can define the user id of remote application in mcauser field of SVRCONN Channel...

This id can be autheticated using setmqauth...


Provided that user also exists on the system where the MCAUSER value is set, yes. The Object Authority Manager can only work with local accounts, and it does not authenticate, but grant authorities.
_________________
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
PeterPotkay
PostPosted: Mon Nov 16, 2009 11:29 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

It can also work with domain IDs. That's why I said the ID has be known to the server, not that the ID has to be defined on the server.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Mon Nov 16, 2009 11:42 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

aditya.aggarwal wrote:
...This id can be autheticated using setmqauth...

* setmqaut
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
exerk
PostPosted: Mon Nov 16, 2009 9:37 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

PeterPotkay wrote:
It can also work with domain IDs. That's why I said the ID has be known to the server, not that the ID has to be defined on the server.


Thank you for pointing out my obvious blunder
_________________
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
fjb_saper
PostPosted: Mon Nov 16, 2009 9:51 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

And remember that if you setup the authorizations against the user id in Unix it will effectively create the authorization against the primary group id of said user at the time you run setmqaut.

So please guy's even on windows, get into the habit of doing the authorizations at group level. You can always authorize individual users by adding them to the relevant groups. (Remember you may have to run refresh security on the qmgr after a change of group on the os for the userid.)

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » User Id for setmqaut
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.