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 » Windows domain users authentication in UNIX MQ server

Post new topic  Reply to topic
 Windows domain users authentication in UNIX MQ server « View previous topic :: View next topic » 
Author Message
nelson
PostPosted: Tue Feb 18, 2014 6:48 am    Post subject: Windows domain users authentication in UNIX MQ server Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

Hi All,

I'm not sure if this is a basic question, but I was not able to find a related topic in the Infocenter.

Working on MQ 7.1 on AIX, a client from Windows needs to connect to the MQ Server using a domain user, does MQ Server on AIX resolves properly the user ID from the domain@user pair? I have read this article but seems to apply only in the Windows platform... Am I wrong?

http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=%2Fcom.ibm.mq.amqtac.doc%2Fwq10840_.htm

Does any of you please help me to find the documentation of this punctual authorization scenario?

Any help is very appreciated.

Kind regards.


Last edited by nelson on Tue Feb 18, 2014 6:58 am; edited 1 time in total
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Feb 18, 2014 6:52 am    Post subject: Re: Windows domain users authentication in UNIX MQ server Reply with quote

Grand High Poobah

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

nelson wrote:
does MQ Server on AIX resolves properly the user ID from the domain@user pair?




AIX (which is what the WMQ server is using to control it's ids) doesn't speak Windows. That's not a WMQ thing, it's an AIX (and indeed a Unix) thing.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
nelson
PostPosted: Tue Feb 18, 2014 6:57 am    Post subject: Re: Windows domain users authentication in UNIX MQ server Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

Vitor wrote:
nelson wrote:
does MQ Server on AIX resolves properly the user ID from the domain@user pair?




AIX (which is what the WMQ server is using to control it's ids) doesn't speak Windows. That's not a WMQ thing, it's an AIX (and indeed a Unix) thing.


Ok... So, in the Windows side I must use local users?

Vitor, Thanks for your quick response.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Feb 18, 2014 7:05 am    Post subject: Re: Windows domain users authentication in UNIX MQ server Reply with quote

Grand High Poobah

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

nelson wrote:
Ok... So, in the Windows side I must use local users?


No on the Windows side you must use AIX users!

Seriously, you can't use the domain@ type and you need to understand that the user id will be validated on the AIX side.

A typical way of dealing with this is to set the MCAUser in the channel. This not only solves the Windows id problem, but allows you to control access via that channel.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
nelson
PostPosted: Tue Feb 18, 2014 7:43 am    Post subject: Re: Windows domain users authentication in UNIX MQ server Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

Vitor wrote:
nelson wrote:
Ok... So, in the Windows side I must use local users?


No on the Windows side you must use AIX users!

Seriously, you can't use the domain@ type and you need to understand that the user id will be validated on the AIX side.

A typical way of dealing with this is to set the MCAUser in the channel. This not only solves the Windows id problem, but allows you to control access via that channel.


Thanks Vitor,

Let me try to understand. What we usually do is to create a local user that matches with the AIX user that has the proper wrights to do the MQ stuff that we want. Does this mean using AIX users?

Another question... specifying the MCAUser in the channel overwrites the OS user (domain or not domain user) which is doing the request to the MQ Server?

Thanks a lot for your help!
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Feb 18, 2014 7:59 am    Post subject: Re: Windows domain users authentication in UNIX MQ server Reply with quote

Grand High Poobah

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

nelson wrote:
Let me try to understand. What we usually do is to create a local user that matches with the AIX user that has the proper wrights to do the MQ stuff that we want. Does this mean using AIX users?


Remember that on AIX WMQ security is at the group level not the id level. So that the Windows id coming down the channel is matched to the AIX user, and it's the authority of that group that is used. Typically people use an MCAUser so they don't have to go through the trouble of setting up each Windows id on their Unix box.

nelson wrote:
Another question... specifying the MCAUser in the channel overwrites the OS user (domain or not domain user) which is doing the request to the MQ Server?


Yes.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Feb 18, 2014 9:05 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Windows domain security does not extend to (encompass, embrace) AIX or iSeries or z/OS.

Each platform o/s has its own requirements and limitations as to the format and content of usernames and passwords.

Therefore, your (clients) Windows username must be defined to the AIX o/s, and appropriate authorizations granted to the group that the username is a member of. Sounds kinda clunky, doesn't it?

An alternative would be to implement a Kerberos-type system-wide security system.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Tue Feb 18, 2014 9:42 am    Post subject: Reply with quote

Grand Master

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

A quick search of this site would have brought up several discussions where we will tell you:


  • The process at the client end of the connection can present any ID they want (like mqm)
  • Unless you are using SSL or security exits to authenticate the identity of the process at the other end, you have no meaningful security
  • Consider SSL and using SSLPEER or CHLAUTH to filter/map certificates to a known ID at the MQ Server


As an example, use MQ Explorer to make a client connection to the AIX Qmgr. Now, right click on the Qmgr and select "Connection Details->properties..." Then on the left select "Userid". Then type mqm for the ID and push the OK button. Next time you connect, you will be mqm unless somebody over rode MCAUSER on the channel or CHLAUTH rules are in effect and don't allow this connection (which is the default behavior at WMQ 7.1 and up).
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Windows domain users authentication in UNIX MQ server
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.