Hi,
im trying to set the MQ Web Console integration with active directory. I managed to connect to LDAP and authenticate the user connecting to MQ Web Console. Now, i have a problem to understand how to query if this user is authorized to access:
<enterpriseApplication id="com.ibm.mq.console">
<application-bnd>
<security-role name="MQWebAdmin">
<group name="CN=mq-admins,OU=Security,OU=Users and Computers,DC=domain,DC=ad,DC=local"
realm="defaultRealm"/>
</security-role>
</application-bnd>
</enterpriseApplication>
And here the LDAP settings:
<ldapRegistry id="ldap"
realm="defaultRealm"
host="domain.ad.local"
port="389"
ignoreCase="true"
bindDN="CN=mqldap,OU=Services,DC=domain,DC=ad,DC=local"
bindPassword="xxxxxxxxxxxxxxxx"
baseDN="OU=Services,DC=center1,DC=ad,DC=local"
ldapType="Microsoft Active Directory"
searchTimeout="2m"
sslEnabled="false"
recursiveSearch="true"
sslRef="thisSSLConfig">
<activedFilters
userFilter="(&(sAMAccountName=%v)(objectcategory=user))"
groupFilter="(&(objectClass=group)(member=%v))"
userIdMap="user:sAMAccountName"
groupIdMap="group:cn"
groupMemberIdMap="memberOf:member">
</activedFilters>
</ldapRegistry>
The loging return a user :
CN=mq admin user ,OU=Admin Accounts,,OU=Services,DC=center1,DC=ad,DC=local
The user has a LDAP Property "MemberOf" that contains a list of all the AD Groups (included CN=mq admins,OU=Security,
OU=Users and Computers,DC=domain,DC=ad,DC=local )
IN the group:CN=mq admins,OU=Security,
OU=Users and Computers,DC=domain,DC=ad,DC=local
the users are in
"member"
Any suggestion about what im doing wrong?
------------------------------
Andres Colodrero
------------------------------