Posted: Mon Dec 15, 2003 8:55 am Post subject: MQ CLient and authentication from Win2000 to Solaris
Newbie
Joined: 24 Nov 2003 Posts: 2
When I attempt to setup a unix user account/group to set security to with setmqaut for use with a Win2000 VB client API, I can not seem to get the information passed in the UserIdentifier by the VB app through my Svrconn channel to match up with the Unix account/group.
Does this make sense to anyone ? How do I authenticate the user of the client connection when it crosses platforms like this ?
I currently just hard code the mqm user in the mcauser attribute of the channel but this leaves everything wide open.
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
Hi,
You would probably get a bigger / better response if you posted this question in the MQSeries Support forum rather than in the Capitalware Product Support forum.
I haven't done any channel exit stuff in a while but here goes. First, you must create 2 channel exits:
(1) One for the client-side
(2) The other for the server-side.
The logic / information passed between the 2 exits is up to you since you will be writing both. What I have done is on the client-side set the pMQCD->UserIdentifier to the UserID and pMQCD->Password to the user inputted password.
On the server-side I verify the incoming UserID and password, either directly with the OS or with an external kept list (note: external list is not good for security).
Then if there is a match allow the channel to start, otherwise stop the channel (return an error) from starting.
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