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 » Passing user ID & password viaSVRCONN channel is not wor

Post new topic  Reply to topic
 Passing user ID & password viaSVRCONN channel is not wor « View previous topic :: View next topic » 
Author Message
mvarghese
PostPosted: Thu Sep 27, 2007 10:22 pm    Post subject: Passing user ID & password viaSVRCONN channel is not wor Reply with quote

Centurion

Joined: 27 Sep 2006
Posts: 141

I used:

MQEnvironment.hostname = hostName ;
MQEnvironment.channel = channel ;
MQEnvironment.port = 1430 ;


MQEnvironment.userID = "JAIN";
MQEnvironment.password = "password";


I created user ID ='JAIN' with password as "password" in AIX and its not a part of mqm group and gave necessary permission using setmqaut + svrconn mca user id(JAIN)..

But I seen,my java client is working..even though I gave wrong info in MQEnvironment.userID ..What, am not sure where I did mistake.
Any oen can throw some lights.

MQ-Version: 6.0.2.0
_________________
Jain Varghese
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Sep 28, 2007 2:45 am    Post subject: Reply with quote

Grand High Poobah

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

Try sending the userId in lower case...
And I'm not sure that you can do this with any non java based client.
The java client has no java way of knowing the user running the process. It would have to use a jni interface that makes it platform dependent...

Anyway if you've set the mcauser on the SVRCONN channel it should not matter any more. As you just created the user in the OS and its user group, did you do a refresh security?
And remember that Unix allocates the setmqaut permissions to the primary user group when set at the user level... You should always set the permissions at the group level in Unix...

Enjoy
_________________
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 » Passing user ID & password viaSVRCONN channel is not wor
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.