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 Security » MQ 7.5 Security issue

Post new topic  Reply to topic
 MQ 7.5 Security issue « View previous topic :: View next topic » 
Author Message
ravilankalapalli
PostPosted: Wed Nov 28, 2012 5:09 am    Post subject: MQ 7.5 Security issue Reply with quote

Newbie

Joined: 10 Feb 2010
Posts: 7

Hi Friends,

I am working on MQ 7.5 linux environment.

I am facing problem at CHANNEL AUTHORISATON level. In my project i have to map client USERID with LOCAL LINUX UserID.

I used below command:
SET CHLAUTH('QM.SVR.CHL') TYPE(USERMAP) CLNTUSER('fonlid') USERSRC(MAP) MCAUSER('ncs') ACTION(ADD)

Error I am getting in LOG was:

11/28/2012 03:05:32 PM - Process(22143.25) User(151194) Program(amqzlaa0)
Host(rhlux115.alahli.com) Installation(Installation1)
VRMF(7.5.0.0) QMgr(QM.IBAS)

AMQ5653: The user 'fonlid' is not defined.

EXPLANATION:
The system call getpwnam("fonlid") failed with errno -1.
ACTION:
Create the user 'fnsonlid' and retry the operation.
----- amqzfubx.c : 4021 -------------------------------------------------------
11/28/2012 03:05:32 PM - Process(22165.1 User(151194) Program(amqrmppa)
Host(rhlux115.alahli.com) Installation(Installation1)
VRMF(7.5.0.0) QMgr(QM.IBAS)

AMQ9557: Queue Manager User ID initialization failed.

EXPLANATION:
The call to initialize the User ID failed with CompCode 2 and Reason 2035.
ACTION:
Correct the error and try again.
----- cmqxrsrv.c : 1972 -------------------------------------------------------
11/28/2012 03:05:32 PM - Process(22165.1 User(151194) Program(amqrmppa)
Host(rhlux115.alahli.com) Installation(Installation1)
VRMF(7.5.0.0) QMgr(QM.IBAS)

AMQ9999: Channel 'QM.SVR.CHL' to host 'hpux105 (10.**.**.**)' ended
abnormally.

EXPLANATION:
The channel program running under process ID 22165 for channel
'QM.SVR.CHL' ended abnormally. The host name is 'hpux105 (10.**.**.**)';
in some cases the host name cannot be determined and so is shown as '????'.
ACTION:
Look at previous error messages for the channel program in the error logs to
determine the cause of the failure. Note that this message can be excluded
completely or suppressed by tuning the "ExcludeMessage" or "SuppressMessage"
attributes under the "QMErrorLog" stanza in qm.ini. Further information can be
found in the System Administration Guide.
----- amqrmrsa.c : 898 --------------------------------------------------------


Please help me on this.

Thanks
Ravi
Back to top
View user's profile Send private message
McueMart
PostPosted: Wed Nov 28, 2012 9:12 am    Post subject: Reply with quote

Chevalier

Joined: 29 Nov 2011
Posts: 490
Location: UK...somewhere

Is channel authentication definitely enabled?

Code:
ALTER QMGR CHLAUTH(ENABLED)


Also I dont quite understand this part of the error

Code:
AMQ5653: The user 'fonlid' is not defined.

EXPLANATION:
The system call getpwnam("fonlid") failed with errno -1.
ACTION:
Create the user 'fnsonlid' and retry the operation.


Why does the action tell you to create a different user? Weird.
Back to top
View user's profile Send private message
jeevan
PostPosted: Wed Nov 28, 2012 11:29 am    Post subject: Re: MQ 7.5 Security issue Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

ravilankalapalli wrote:
Hi Friends,

I am working on MQ 7.5 linux environment.


EXPLANATION:
The system call getpwnam("fonlid") failed with errno -1.
ACTION:
Create the user 'fnsonlid' and retry the operation.



There is an answer. Look at the ACTION carefully.

Did you check that the id exist in your linux system ? does it have permission to connect to qmgr and access the mq object?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Nov 28, 2012 1:35 pm    Post subject: Reply with quote

Poobah

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

Moved to Security forum.
_________________
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
ravilankalapalli
PostPosted: Wed Nov 28, 2012 3:08 pm    Post subject: Reply with quote

Newbie

Joined: 10 Feb 2010
Posts: 7

McueMart wrote:
Is channel authentication definitely enabled?

Code:
ALTER QMGR CHLAUTH(ENABLED)


Also I dont quite understand this part of the error

Code:
AMQ5653: The user 'fonlid' is not defined.

EXPLANATION:
The system call getpwnam("fonlid") failed with errno -1.
ACTION:
Create the user 'fnsonlid' and retry the operation.


Why does the action tell you to create a different user? Weird.


Sorry I modified manually user for forum but it is same user and CHLAUTH is enabled
Back to top
View user's profile Send private message
ravilankalapalli
PostPosted: Wed Nov 28, 2012 3:13 pm    Post subject: Re: MQ 7.5 Security issue Reply with quote

Newbie

Joined: 10 Feb 2010
Posts: 7

jeevan wrote:
ravilankalapalli wrote:
Hi Friends,

I am working on MQ 7.5 linux environment.


EXPLANATION:
The system call getpwnam("fonlid") failed with errno -1.
ACTION:
Create the user 'fnsonlid' and retry the operation.



There is an answer. Look at the ACTION carefully.

Did you check that the id exist in your linux system ? does it have permission to connect to qmgr and access the mq object?


Hi Jeevan,

yes i can create the user in Linux but there is already some users existed so my client wants to use those users he dont want to create new users in Linux.

So i created mapping with existed users to client users but mapping was not happening

I used for mapping below command

SET CHLAUTH('QM.SVR.CHL') TYPE(USERMAP) CLNTUSER('fonlid') USERSRC(MAP) MCAUSER('ncs') ACTION(ADD)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Security » MQ 7.5 Security issue
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.