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 » IBM MQ Security » WSMQ 8, can't create Authority Records for AD domain group

Post new topic  Reply to topic
 WSMQ 8, can't create Authority Records for AD domain group « View previous topic :: View next topic » 
Author Message
xeonix
PostPosted: Thu Oct 09, 2014 7:51 am    Post subject: WSMQ 8, can't create Authority Records for AD domain group Reply with quote

Apprentice

Joined: 02 Apr 2013
Posts: 32

Hello, gentlemen.

I have Windows 2008 R2 Active Directory domain controller. The domain is "domainwsmq".
Also there's another box running Windows 2008 R2 with IBM WebSphere MQ 8 FP 1 installed, which is a member of "domainwsmq".
Queue manager "QMTEST" is configured to work in AD environment with "domainwsmq\Domain mqm" (member of local 'mqm') group, and is running under "domainwsmq\SVC_MQ_0000" (member of 'Domain mqm').

Everything works fine, but now I need to:
- Create local queue "TESTQ" on "QMTEST"
- Create domain group "GR_DFTE_0000"
- Grant permissions to connect to "QMTEST", put/get/browse/inq on "TESTQ" to domain group "domainwsmq\GR_DFTE_0000"

So, according to documentation I'm trying to use command "setmqaut":
http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.ref.adm.doc/q083500_.htm

I started with granting +connect to queue manager. Here's all variations of the command I've tried:

- Using "-g"

setmqaut -m QMTEST -t qmgr -g domainwsmq\GR_DFTE_0000 +connect
AMQ7026: A principal or group name was invalid.

setmqaut -m QMTEST -t qmgr -g GR_DFTE_0000@domainwsmq +connect
AMQ7026: A principal or group name was invalid.

setmqaut -m QMTEST -t qmgr -g GR_DFTE_0000@domainwsmq.ua +connect
AMQ7026: A principal or group name was invalid.

setmqaut -m QMTEST -t qmgr -g GR_DFTE_0000 +connect
AMQ7026: A principal or group name was invalid.

- Using "-p"

setmqaut -m QMTEST -t qmgr -p domainwsmq\GR_DFTE_0000 +connect
AMQ7026: A principal or group name was invalid.

setmqaut -m QMTEST -t qmgr -p GR_DFTE_0000@domainwsmq +connect
AMQ7026: A principal or group name was invalid.

setmqaut -m QMTEST -t qmgr -p GR_DFTE_0000@domainwsmq.ua +connect
AMQ7026: A principal or group name was invalid.

setmqaut -m QMTEST -t qmgr -p GR_DFTE_0000 +connect
AMQ7026: A principal or group name was invalid.

As a result - nothing of these ain't working, it's constantly saying "AMQ7026: A principal or group name was invalid.".
Even thought documentation says:

-----------------------------------------------
-p PrincipalName
The name of the principal for which to change authorizations.
[Windows] For WebSphere MQ for Windows only, the name of the principal can optionally include a domain name, specified in the following format:

userid@domain

For more information about including domain names on the name of a principal, see Principals and groups.

You must have at least one principal or group.
-g GroupName
The name of the user group for which to change authorizations. You can specify more than one group name, but each name must be prefixed by the -g flag.
For WebSphere MQ for Windows only, the group name can optionally include a domain name, specified in the following formats:

GroupName@domain
domain\GroupName
-----------------------------------------------

So, how do I create Authority Records for Active Directory domain group, what am I missing?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Oct 09, 2014 4:40 pm    Post subject: Reply with quote

Grand High Poobah

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

I noticed that your domain is not the same when using '@' sign.

You are using @<domain>.ua . Care to try dropping the .ua?

Also can you show us the relevant entry in the qm.ini Security section?
You can look it up under security stanza.., in the infocenter

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
xeonix
PostPosted: Thu Oct 09, 2014 11:43 pm    Post subject: Reply with quote

Apprentice

Joined: 02 Apr 2013
Posts: 32

fjb_saper wrote:
I noticed that your domain is not the same when using '@' sign.

You are using @<domain>.ua . Care to try dropping the .ua?

Also can you show us the relevant entry in the qm.ini Security section?
You can look it up under security stanza.., in the infocenter

Have fun


Thanks for a tip! Here's what was missing in "qm.ini":
------------------------
Security:
GroupModel=GlobalGroups
------------------------
I thought "Prepare WebSphere MQ Wizard" would do all configuration stuff, when setting MQ to use Active Directory domain.

So now everything works like a charm:

setmqaut -m QMTEST -t qmgr -g domainwsmq\GR_DFTE_0000 +connect
The setmqaut command completed successfully.

Thank you!
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 » IBM MQ Security » WSMQ 8, can't create Authority Records for AD domain 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.