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 » SET AUTHREC failing on new group added to Linux server

Post new topic  Reply to topic
 SET AUTHREC failing on new group added to Linux server « View previous topic :: View next topic » 
Author Message
slonkoski
PostPosted: Wed Feb 25, 2015 12:32 pm    Post subject: SET AUTHREC failing on new group added to Linux server Reply with quote

Acolyte

Joined: 18 Mar 2005
Posts: 52

Security team added new groups/id's to my server, I can see them fine in /etc/group and /etc/passwd, but when I run a SET AUTHREC command against the new group I get AMQ8871: Entity, principal or group not known.
Running a pretty simple command to allow the id QMGR access:

SET AUTHREC GROUP('new_groupname') OBJTYPE(QMGR) AUTHRMV(ALL) AUTHADD(CONNECT,INQ)

MQv7.5.0.4 on Linux, group was just added today - do I need some kind of refresh?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Feb 25, 2015 12:33 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

refresh security
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Feb 25, 2015 12:52 pm    Post subject: Re: SET AUTHREC failing on new group added to Linux server Reply with quote

Poobah

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

slonkoski wrote:
... do I need some kind of refresh?


When you make o/s-level or ESM (external security manager) changes, you must tell the qmgr to refresh its cached security profile images.
_________________
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
slonkoski
PostPosted: Wed Feb 25, 2015 1:03 pm    Post subject: Reply with quote

Acolyte

Joined: 18 Mar 2005
Posts: 52

Yup, should have mentioned I already did that:
REFRESH SECURITY TYPE (AUTHSERV)
and
REFRESH SECURITY
and
REFRESH SECURITY (*)
then I posted here. Sorry
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Feb 25, 2015 1:21 pm    Post subject: Reply with quote

Poobah

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

slonkoski wrote:
Yup, should have mentioned I already did that:
REFRESH SECURITY TYPE (AUTHSERV)
and
REFRESH SECURITY
and
REFRESH SECURITY (*)
then I posted here. Sorry

Did this resolve the issue? Or are you saying that something is still not working for you?
_________________
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
slonkoski
PostPosted: Wed Feb 25, 2015 1:25 pm    Post subject: Reply with quote

Acolyte

Joined: 18 Mar 2005
Posts: 52

Sorry for the confusion, long day (week!) no, not resolved - I had already refreshed security before I ran the SET AUTHREC GROUP command
then I received the 'AMQ8871: Entity, principal or group not known.
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Wed Feb 25, 2015 1:28 pm    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

What is the length of the group name?
Back to top
View user's profile Send private message AIM Address
slonkoski
PostPosted: Wed Feb 25, 2015 1:56 pm    Post subject: Reply with quote

Acolyte

Joined: 18 Mar 2005
Posts: 52

9 chars
Back to top
View user's profile Send private message
slonkoski
PostPosted: Wed Feb 25, 2015 1:57 pm    Post subject: Reply with quote

Acolyte

Joined: 18 Mar 2005
Posts: 52

And I've set others that are longer than 9, so not an * char restriction. so far no love, stumped
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Feb 25, 2015 4:48 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

slonkoski wrote:
...I had already refreshed security before I ran the SET AUTHREC GROUP command - then I received the 'AMQ8871: Entity, principal or group not known.

So you didn't run it after you ran the SET AUTHREC?
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
slonkoski
PostPosted: Thu Feb 26, 2015 8:17 am    Post subject: Reply with quote

Acolyte

Joined: 18 Mar 2005
Posts: 52

Yes,our security team added the gid/uid to the Linux server
I ran REFRESH command
I ran SET AUTHREC command
command failed
Ran every syntax I could think of for REFRESH SEC command
Re-ran SET AUTHREC - failed

Verified uid/gid on server
Back to top
View user's profile Send private message
slonkoski
PostPosted: Thu Feb 26, 2015 8:25 am    Post subject: Reply with quote

Acolyte

Joined: 18 Mar 2005
Posts: 52

TOTALLY EMBARRASSED - Will go away and hide for a while and not bother the list

I TYPO'ed (over and over) my eyes (and even my grep command) were using the wrong group name, off by one letter.

SORRY!
But at least an easy fix, I like those anyway
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Feb 26, 2015 8:32 am    Post subject: Reply with quote

Poobah

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

I blame my keyboard for these type of events.
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » SET AUTHREC failing on new group added to Linux server
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.