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 » Deleting authority of invalid group

Post new topic  Reply to topic
 Deleting authority of invalid group « View previous topic :: View next topic » 
Author Message
sfari
PostPosted: Wed Apr 21, 2004 10:50 pm    Post subject: Deleting authority of invalid group Reply with quote

Centurion

Joined: 15 Apr 2003
Posts: 144

I had to change the name (string) of a UNIX-group the id (number) has been kept.

After this change we have set the same authorities for the new group name.

How can I delete the old authorities without switching back the group name?
With dmpmqaut it is still shown although the group does not exist anymore.
The command
Quote:
setmqaut ..... -g oldgroup -all
prints out
Quote:
AMQ7026: A principal or group name was invalid
.

How can I get rid off this authority zombie?
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Wed Apr 21, 2004 11:22 pm    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

it's either switch back to the old group and remove authority or
remove the queue and define it again...
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
sfari
PostPosted: Thu Apr 22, 2004 2:36 am    Post subject: Reply with quote

Centurion

Joined: 15 Apr 2003
Posts: 144

Thanks, for the answer!

Could it be a problem to have such authorities for groups, which do not exist? If not I would just leave it for now!
Back to top
View user's profile Send private message
mrlinux
PostPosted: Thu Apr 22, 2004 12:50 pm    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

You shouldnt have to change anything if you are using the GID number from the old group.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
sfari
PostPosted: Thu Apr 22, 2004 11:26 pm    Post subject: Reply with quote

Centurion

Joined: 15 Apr 2003
Posts: 144

Hi Jeff, Do you mean to set the authorities using the GID number instead of the char string of the group. Is this possible? But to remove the old authority would still not work because that is defined with old string of the group, right? The GID of the old and the new name is the same.
Back to top
View user's profile Send private message
mrlinux
PostPosted: Fri Apr 23, 2004 5:14 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

No I mean the group name is resolved to a number (GID) and then setmqaut saves the number not the STRING.

Sample

/etc/group file
mqapp,20,userid

setmqaut -m QMGR_NAME -t qmgr -g mqapp +all
this resolves the mqapp to 20

/etc/group
mqNewApp,20,userid

No need to do anything.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
sfari
PostPosted: Mon May 03, 2004 6:54 am    Post subject: Reply with quote

Centurion

Joined: 15 Apr 2003
Posts: 144

Hi Jeff

I was hoping that MQ saves the authorizations with GID number. But I don't think that's the case because it was really needed to redefine the authorizations with setmqaut in order the application continued to work.

This is what the dspmqaut says:
- - - - - - - -
profile: A.FILETRANS.FZK_UPLOAD
object type: queue
entity: filetrans
entity type: group
authority: get browse inq
- - - - - - - -
profile: A.FILETRANS.FZK_UPLOAD
object type: queue
entity: filetran
entity type: group
authority: get browse inq
- - - - - - - -

The user filetrans does not anymore exist in /etc/group file. Previously it had the same GID number as the current user filetran.

Thanks
Silvano
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 » Deleting authority of invalid group
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.