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 Discussion » how to authenticate a queue in QM

Post new topic  Reply to topic Goto page 1, 2  Next
 how to authenticate a queue in QM « View previous topic :: View next topic » 
Author Message
sanyasirajumandapati
PostPosted: Tue Dec 28, 2004 11:48 am    Post subject: how to authenticate a queue in QM Reply with quote

Novice

Joined: 20 Dec 2004
Posts: 14

hi folks,
i am having a problem while putting authorization to a queue in the queuemanger. my intention is to enter into the queue to a auhenticate user but not the others.i tried using SETMQAUT , but its not working. if any body knows pls send me reply.

thanking u
_________________
SUNNY
Back to top
View user's profile Send private message
kirani
PostPosted: Tue Dec 28, 2004 11:55 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Did you refresh your security after running this command?
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Tue Dec 28, 2004 11:56 am    Post subject: Reply with quote

Grand High Poobah

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

And remember this does not apply for any user in the mqm group as they are authorized anyway.
Back to top
View user's profile Send private message Send e-mail
sanyasirajumandapati
PostPosted: Tue Dec 28, 2004 12:31 pm    Post subject: Re: how to authenticate a queue in QM Reply with quote

Novice

Joined: 20 Dec 2004
Posts: 14

sanyasirajumandapati wrote:
hi folks,
ya refreshed the security and also the other user is not the userid from mqm group.
thanking u

_________________
SUNNY
Back to top
View user's profile Send private message
csmith28
PostPosted: Tue Dec 28, 2004 12:43 pm    Post subject: Re: how to authenticate a queue in QM Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

sanyasirajumandapati wrote:
hi folks,
i am having a problem while putting authorization to a queue in the queuemanger. my intention is to enter into the queue to a auhenticate user but not the others.i tried using SETMQAUT , but its not working. if any body knows pls send me reply.

thanking u

What operating system/s are involved?

What version of WMQ?

Are you attempting to PUT to a local or remote MQManager?

Exactly what setmqaut commands did you run?

What return codes are you getting? 2035....
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
Back to top
View user's profile Send private message
sanyasirajumandapati
PostPosted: Tue Dec 28, 2004 1:36 pm    Post subject: Re: how to authenticate a queue in QM Reply with quote

Novice

Joined: 20 Dec 2004
Posts: 14

[quote="csmith28"]
sanyasirajumandapati wrote:
hi folks,

windows 2000 professional
version is 5.3 csd 5
to remote QManager
ex: setmqaut -m qmgr -n q1 -t queue - g test -put
test cotains a userid which is the user of the remote sys
ya getting the err 2035
thanking u

_________________
SUNNY
Back to top
View user's profile Send private message
kirani
PostPosted: Tue Dec 28, 2004 1:38 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

And you ran setmqaut command on remote machine where the queue manager is running?
Also, under what user-id your app is running?
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
PeterPotkay
PostPosted: Tue Dec 28, 2004 1:40 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Read the Sysytem Admin Guide, the section on setmqaut. You have to allow your group to connect to the QM, to open the queue and to put to the queue.

The command you listed took away (-put) put authority, something it didn't have in the first place.

Read the Sysytem Admin Guide, the section on setmqaut. (Documentation button, top of this screen.)
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
csmith28
PostPosted: Tue Dec 28, 2004 1:57 pm    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

If I recall correctly you have to give the user permission to connect to the MQMGR as well.

For example if you want to give this user permission to connect and run all mqi commands on the MQManager do the following:

Code:

setmqaut -m QMGR -t qmgr -p username +all mqi

_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Dec 28, 2004 11:54 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

To clarify what kirani wrote earlier:
Quote:
Did you refresh your security after running this command?

This is not needed following SETMQAUT. It is only required if you changed any underlying OS authorities, like adding new users, or changing the groups that users belong to.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
sanyasirajumandapati
PostPosted: Wed Dec 29, 2004 6:24 am    Post subject: Reply with quote

Novice

Joined: 20 Dec 2004
Posts: 14

hi kiran,
i had set the permissions in the remote system and as well as in the application userid also. in application user id i set the -put but the user puts the data in the queue without any constraint. pls guide me.


Thanking u.
_________________
SUNNY
Back to top
View user's profile Send private message
kingsley
PostPosted: Wed Dec 29, 2004 7:09 am    Post subject: Reply with quote

Disciple

Joined: 30 Sep 2001
Posts: 175
Location: Hursley

setmqaut -m QMGR -t qmgr -p username +all mqi

First of All +allmqi is a single option and cannot be separated as +all mqi

Secondly +allmqi cannot be used on a type QueueManager and is used mainly on Queues

Pls. Correct the SetMqaut command.

Sanya, Pls . mask the object names and paste the setmqaut command in the forum. I will guide you. It's very simple.
Back to top
View user's profile Send private message Visit poster's website
PeterPotkay
PostPosted: Wed Dec 29, 2004 8:17 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

kingsley wrote:

Secondly +allmqi cannot be used on a type QueueManager and is used mainly on Queues


You can use +allmqi on Queue Managers.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
sanyasirajumandapati
PostPosted: Wed Dec 29, 2004 8:19 am    Post subject: Reply with quote

Novice

Joined: 20 Dec 2004
Posts: 14

hi kingley,

i am a user smandapati and qmanager name is qmgr and queue is q1.
my client username is vmandila .by default, all the authorisations are set to smandapati. after that i set

setmqaut -m qmgr -t queue -n q1 -vmandila -put -get

my objective is to the valid user is to access the q1 in qmgr .

i am thankful 4 guiding me.
thanking u
_________________
SUNNY
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Dec 29, 2004 8:21 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

-put takes away put authority

+put gives put authority



Stop using - and start using + if you want to add authorities to a user.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General Discussion » how to authenticate a queue in QM
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.