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 » Linux Server / Win 2K Client authentication (RC 2035)

Post new topic  Reply to topic
 Linux Server / Win 2K Client authentication (RC 2035) « View previous topic :: View next topic » 
Author Message
adamspb
PostPosted: Wed Mar 20, 2002 9:22 am    Post subject: Reply with quote

Newbie

Joined: 19 Mar 2002
Posts: 2

I've configured a Linux server sucesfully, verifying the configuration by being able to put and get messages locally.

My problem is with using my Windows Client. I have set my MQSERVER environment variable correctly but running AMQSPUTC <queue> <qmgr> gives me a return code of 2035 (MQRC_NOT_AUTHORIZED).

How do I make my Windows User ID known as a valid user of the QMgr on the Linux box?

I tried registering a user on the Linux server with the same name/password combination and added it to the mqm group, but that didn't work either (I did restart the qmgr! )

Any help here will be gratefully received!
Thanks in advance,

Paul Adams
Senior Consultant
Satsuma Solutions Ltd, UK.
Back to top
View user's profile Send private message
mrlinux
PostPosted: Wed Mar 20, 2002 10:27 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

You have at least 2 options

YOUR USERID should work, remember Windows uses all uppercase, so on the linux box the USER needs to be defined in all uppercase. The password doesnt have to be the same, in
fact I have setup users on unix that cant login.

1)On the server change the SVRCONN Channel definition MCAUSERID to a valid
MQSeries Authorized ID.
2)In your Application set the user identifier field in the MQMD and set the PMO
option to SET ALL AUTHORITY.
3)There is a enviorment variable MQ_USER_ID. This only valid for Windows
95/98/DOS/OS2 and maybe WIN ME

_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries

[ This Message was edited by: mrlinux on 2002-03-20 10:29 ]
Back to top
View user's profile Send private message Send e-mail
adamspb
PostPosted: Fri Mar 22, 2002 1:30 am    Post subject: Reply with quote

Newbie

Joined: 19 Mar 2002
Posts: 2

For what it's worth...

I changed the MCAUSER on the channel definition to MCAUSER('root') and I was up and running. Probably not the most secure ways of doing things, but at least gets me going for now!

Thanks for your help
Paul A
Back to top
View user's profile Send private message
HYATTMATTHEW
PostPosted: Wed Mar 27, 2002 11:18 am    Post subject: Reply with quote

Newbie

Joined: 26 Mar 2002
Posts: 7

Your 'root' user id is working because of the job of the listener is running under inetd.conf (solaris) and is owned by root.
I had the same problem going from a NT/2k client to a Solaris qmgr, my Id on the client is part of the mqm group on the server, whick in turn is a member of group root. I still get 2035's even if the MCAUSER value is blank, It was my understanding that the MCAUSER field when blank should allow anyone user access to the QMGR via the svrconn channel. This must not be the case. Can anyone agree/disagree with the inetd.conf statement and provide a way to allow anyone access to the qmgr??
Back to top
View user's profile Send private message Send e-mail AIM Address
mrlinux
PostPosted: Wed Mar 27, 2002 11:27 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

If you are using the inetd.conf, you can specify a userid to start the listener
this is typically mqm.

Trying to access a Unix type Queue Manager from NT you will need to have the userid added to the unix server, There doesnt need to be a password


NOTE: Most NT Userid's are all caps.
/etc/passwd
MQM_USER:*:500,100,....

_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
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 » IBM MQ Installation/Configuration Support » Linux Server / Win 2K Client authentication (RC 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.