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 » SOLUTION: Unix authorisations

Post new topic  Reply to topic
 SOLUTION: Unix authorisations « View previous topic :: View next topic » 
Author Message
kolthorr
PostPosted: Mon Jan 24, 2005 4:52 am    Post subject: SOLUTION: Unix authorisations Reply with quote

Apprentice

Joined: 09 Mar 2002
Posts: 31

Hi all,

Just been through some pain setting up security on solaris & thought I'd share the solution in case anyone runs into it.

We added MCA userids to new SVRCONN channels for each of our client apps. Then added groups at the solaris level, applied the various setmqaut permissions, and checked they were ok with dspmqaut. But we were still getting MQRC 2035. Checked the Authority events, they were reporting the expected userids.

Turns out, despite unix security being applied at the group level, there still needs to be a USER in each group. We had just created empty groups to receive the security which appeared to work. But without a unix user in them, MQ just didn't want to authorise anything. So we created a user for each group, and a quick REFRESH SECURITY later we were on our way...

Cheers,
Andrew
Back to top
View user's profile Send private message
zen
PostPosted: Wed May 18, 2005 11:10 pm    Post subject: Reply with quote

Apprentice

Joined: 11 May 2005
Posts: 32
Location: Singapore

Hi,

I happened to view your old post where I'm encountering the same problem. I've been encountering a 2035 Connection Refused Exception when my client program is trying to connect to the MQ server. I was trying to look where I can find the userid that is being sent by my client to the MQ server. I tried looking at the logs and errors but I'm not able to see them. Can you please guide me on where and how can I see in the QM server, the userid that is being passed by the client during connection?

Thank you very much!

zen
Back to top
View user's profile Send private message
vennela
PostPosted: Thu May 19, 2005 5:53 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

zen wrote:
Hi,

Can you please guide me on where and how can I see in the QM server, the userid that is being passed by the client during connection?

Thank you very much!

zen

What programming language is the client app written in?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kolthorr
PostPosted: Fri May 20, 2005 8:06 am    Post subject: Reply with quote

Apprentice

Joined: 09 Mar 2002
Posts: 31

Probably the easiest client-independent way is to turn on queue manager authorisation events:
- in runmqsc, enter ALTER QMGR AUTHOREV (ENABLED)

Then run your app, see the failure. Then use a tool to browse the SYSTEM.ADMIN.PERFM.EVENT queue (eg. support pac MO71) which will show you the message detail. This message will contain the userid your app sent.

Java apps won't send a userid by default. C apps will send the userid they're run as.

Cheers,
Andrew
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 » General IBM MQ Support » SOLUTION: Unix authorisations
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.