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 » AMQ4096 Error

Post new topic  Reply to topic
 AMQ4096 Error « View previous topic :: View next topic » 
Author Message
sekharg
PostPosted: Sun Feb 10, 2013 1:35 am    Post subject: AMQ4096 Error Reply with quote

Newbie

Joined: 10 Feb 2013
Posts: 6

Hi Can any one please help me In getting resolve the Authorization error
I have created a SVRCONN channel and altered that with MCAUSER is empty.
my requirement is one group should access this channel and able to display and inquire about that Queue.

1. We need to Create a Group using the below command
groupadd GROUPA
2. Add some users to this group by issueing below command
useradd –g GROUPA tonn
3. Give the access to group to connect Queue Manager using the below command
setmqaut –m ESB01D –t qmgr –g GROUPA +connect






4. Give the access to Group on MQ Objects by issuing The Below command
Setmqaut –m ESB01D –n CM.* -t q –g GROUPA +inq +dsp

5. After giving the access to Objects we can Display the privileges for group GROUPA
dspmqaut –m ESB01D –t qmgr –g GROUPA
dspmqaut –m ESB01D –n CM* -t q –g GROUPA

I have seen the outputs correctly. But when I am tryng to connect with user tonn i am getting AMQ4096


Can anyone help me to getting this resloved
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Feb 10, 2013 2:58 am    Post subject: Reply with quote

Grand High Poobah

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

If you are using MQ V 7.1 or above you need to map or provide the userid. A blank userid will not be accepted.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sekharg
PostPosted: Sun Feb 10, 2013 3:22 am    Post subject: Reply with quote

Newbie

Joined: 10 Feb 2013
Posts: 6

Hi Saper thanks for reply.
I am Using MQ V 7.5 . If I mention any of the user from That Group in server connection Channel MCAUSER will it works for any user from that Group.
Back to top
View user's profile Send private message
Vitor
PostPosted: Sun Feb 10, 2013 4:30 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sekharg wrote:
If I mention any of the user from That Group in server connection Channel MCAUSER will it works for any user from that Group.


Think about what MCAUser does, and then be embarrassed to have asked the question.

You could also have set this up in a development environment and discovered for yourself if it did or did not work for all the group's members in half the time it's taken to wait for a reply here.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sekharg
PostPosted: Sun Feb 10, 2013 4:54 am    Post subject: Reply with quote

Newbie

Joined: 10 Feb 2013
Posts: 6

Hi,
I Have already Implemented this in Dev server. It Doesn't work. FYI I know about MCAUSER. Still i am Getting Error from Explorer thats why I have pasted my issue over here.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sun Feb 10, 2013 6:13 am    Post subject: Re: AMQ4096 Error Reply with quote

Poobah

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

sekharg wrote:
Hi Can any one please help me In getting resolve the Authorization error
I have created a SVRCONN channel and altered that with MCAUSER is empty.

Is that 'empty' lower-case? Or 'EMPTY' UPPER-CASE?
[/quote]...my requirement is one group should access this channel and able to display and inquire about that Queue.
...
sekharg wrote:
5. After giving the access to Objects we can Display the privileges for group GROUPA
dspmqaut –m ESB01D –t qmgr –g GROUPA
dspmqaut –m ESB01D –n CM* -t q –g GROUPA
I have seen the outputs correctly.

It might help us help you if you post the outputs here so we can look at them.
sekharg wrote:
But when I am tryng to connect with user tonn i am getting AMQ4096.

It might help us help you if you post the conversation that yielded the error.

Did you research AMQ4096? What does it mean? What is the approproate response?
_________________
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
mqjeff
PostPosted: Sun Feb 10, 2013 6:14 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You don't appear to know about MCAUSER, otherwise you would not have it blank.

On unix, the queue manager does not provide authorization for users. It finds the primary group of the user, and uses that for authorization.

The only users that a queue manager knows about are those users that are defined in the security registry of the computer that the queue manager is running on.

It is unlikely that the user running MQExplorer is the same user that is defined on the machine hosting the queue manager.

You also have not done anything with SET CHLAUTH, which is needed on MQ v7.5

You are missing some basic understanding. Read, Think, Try, Repeat.
Back to top
View user's profile Send private message
sekharg
PostPosted: Sun Feb 10, 2013 9:45 pm    Post subject: Reply with quote

Newbie

Joined: 10 Feb 2013
Posts: 6

Thank you all.I will get back to you once it resolved
Back to top
View user's profile Send private message
sekharg
PostPosted: Mon Feb 11, 2013 7:10 am    Post subject: Reply with quote

Newbie

Joined: 10 Feb 2013
Posts: 6

Hi I Just logged off and loggin with user who is exixting in the group and It works..

Thank you all
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 » AMQ4096 Error
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.