<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; ">
<div style="font-family: Calibri, sans-serif; ">We are using the LDAP plugin to manage access to RabbitMQ. Here is the rabbit.config file:</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div>
<div><font face="Consolas">[</font></div>
<div><font face="Consolas"> {rabbit, [{auth_backends, [rabbit_auth_backend_ldap]},</font></div>
<div><font face="Consolas"> {ssl_listeners, [5671]},</font></div>
<div><font face="Consolas"><span class="Apple-tab-span" style="white-space:pre"></span>{frame_max,<span class="Apple-tab-span" style="white-space:pre">
</span>0},</font></div>
<div><font face="Consolas"><span class="Apple-tab-span" style="white-space:pre"></span>{cluster_partition_handling, pause_minority},</font></div>
<div><font face="Consolas"> {ssl_options, [{fail_if_no_peer_cert, false},</font></div>
<div><font face="Consolas"> { verify, verify_none}]},</font></div>
<div><font face="Consolas"> {default_vhost, <<"/">>}]},</font></div>
<div><font face="Consolas"> {rabbitmq_auth_backend_ldap,</font></div>
<div><font face="Consolas"> [ {servers, ["RHB.AD"]},</font></div>
<div><font face="Consolas"> {dn_lookup_attribute, "userPrincipalName"},</font></div>
<div><font face="Consolas"> {dn_lookup_base, "DC=RHB,DC=AD"},</font></div>
<div><font face="Consolas"> {user_dn_pattern, "${username}@RHB.AD"},</font></div>
<div><font face="Consolas"> {use_ssl, false},</font></div>
<div><font face="Consolas"> {port, 389},</font></div>
<div><font face="Consolas"> {log, false},</font></div>
<div><font face="Consolas"> {vhost_access_query, {in_group, "CN=INRMQ_DG - ${vhost} vHost Read Permissions,OU=INRMQ,OU=INTEGRATION,OU=Environments,OU=Servers,DC=RHB,DC=AD"}},</font></div>
<div><font face="Consolas"> {resource_access_query,</font></div>
<div><font face="Consolas"> {for, [{permission, configure, {in_group, "CN=INRMQ_DG - ${vhost} vHost Read Permissions,OU=INRMQ,OU=INTEGRATION,OU=Environments,OU=Servers,DC=RHB,DC=AD"}},</font></div>
<div><font face="Consolas"> {permission, write,</font></div>
<div><font face="Consolas"> {for, [{resource, queue, {in_group, "CN=INRMQ_DG - ${vhost} vHost Write Permissions,OU=INRMQ,OU=INTEGRATION,OU=Environments,OU=Servers,DC=RHB,DC=AD"}},</font></div>
<div><font face="Consolas"> {resource, exchange, {in_group, "CN=INRMQ_DG - ${vhost} vHost Write Permissions,OU=INRMQ,OU=INTEGRATION,OU=Environments,OU=Servers,DC=RHB,DC=AD"}}]}},</font></div>
<div><font face="Consolas"> {permission, read,</font></div>
<div><font face="Consolas"> {for, [{resource, exchange, {in_group, "CN=INRMQ_DG - ${vhost} vHost Read Permissions,OU=INRMQ,OU=INTEGRATION,OU=Environments,OU=Servers,DC=RHB,DC=AD"}},</font></div>
<div><font face="Consolas"> {resource, queue, {in_group, "CN=INRMQ_DG - ${vhost} vHost Read Permissions,OU=INRMQ,OU=INTEGRATION,OU=Environments,OU=Servers,DC=RHB,DC=AD"}}]}}</font></div>
<div><font face="Consolas"> ]</font></div>
<div><font face="Consolas"> }},</font></div>
<div><font face="Consolas"><span class="Apple-tab-span" style="white-space:pre"></span> </font></div>
<div><font face="Consolas"><span class="Apple-tab-span" style="white-space:pre"></span>{tag_queries, [{management,<span class="Apple-tab-span" style="white-space:pre">
</span> {in_group, "CN=INRMQ_DG - RabbitMQ User Access Management,OU=INRMQ,OU=INTEGRATION,OU=Environments,OU=Servers,DC=RHB,DC=AD"}},</font></div>
<div><font face="Consolas"><span class="Apple-tab-span" style="white-space:pre"></span> {monitoring, {in_group, "CN=INRMQ_DG - RabbitMQ User Access Monitoring,OU=INRMQ,OU=INTEGRATION,OU=Environments,OU=Servers,DC=RHB,DC=AD"}},</font></div>
<div><font face="Consolas"><span class="Apple-tab-span" style="white-space:pre"></span> {administrator, {in_group, "CN=Access Profile - SCM,OU=Access Profiles,OU=Servers,DC=RHB,DC=AD"}},</font></div>
<div><font face="Consolas"> {administrator, {in_group, "CN=INRMQ_DG - RabbitMQ User Access Administrator,OU=INRMQ,OU=INTEGRATION,OU=Environments,OU=Servers,DC=RHB,DC=AD"}}]}</font></div>
<div><font face="Consolas"> ]</font></div>
<div><font face="Consolas"> }</font></div>
<div><font face="Consolas">].</font></div>
<div style="font-family: Calibri, sans-serif; "><span class="Apple-tab-span" style="white-space:pre"></span></div>
</div>
<div style="font-family: Calibri, sans-serif; ">My user is in all groups.</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; ">I am able to see all the queues from the Management Plugin.</div>
<div style="font-family: Calibri, sans-serif; ">However, I am not able to list queues from the rabbitmqctl command:</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div>
<div><font face="Consolas">Microsoft Windows [Version 6.1.7601]</font></div>
<div><font face="Consolas">Copyright (c) 2009 Microsoft Corporation. All rights reserved.</font></div>
<div><font face="Consolas"><br>
</font></div>
<div><font face="Consolas">C:\Windows\system32>e:</font></div>
<div><font face="Consolas"><br>
</font></div>
<div><font face="Consolas">E:\>cd RabbitMQ\rabbitmq_server-3.1.5\sbin</font></div>
<div><font face="Consolas"><br>
</font></div>
<div><font face="Consolas">E:\RabbitMQ\rabbitmq_server-3.1.5\sbin>rabbitmqctl list_queues -p vortex name</font></div>
<div><font face="Consolas">Listing queues ...</font></div>
<div><font face="Consolas">Terminate batch job (Y/N)? y</font></div>
<div><font face="Consolas"><br>
</font></div>
<div><font face="Consolas">E:\RabbitMQ\rabbitmq_server-3.1.5\sbin></font></div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; ">No output appears and I have to kill the command. Examining the rabbitmq log, I see the following:</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div><font face="Consolas">=ERROR REPORT==== 12-Sep-2013::11:54:22 ===</font></div>
<div><font face="Consolas">webmachine error: path="/api/queues"</font></div>
<div><font face="Consolas">"Unauthorized"</font></div>
<div><font face="Consolas"><br>
</font></div>
<div><font face="Consolas">=ERROR REPORT==== 12-Sep-2013::11:54:32 ===</font></div>
<div><font face="Consolas">webmachine error: path="/api/queues"</font></div>
<div><font face="Consolas">"Unauthorized"</font></div>
<div><font face="Consolas"><br>
</font></div>
<div><font face="Consolas">=ERROR REPORT==== 12-Sep-2013::11:54:42 ===</font></div>
<div><font face="Consolas">webmachine error: path="/api/queues"</font></div>
<div><font face="Consolas">"Unauthorized"</font></div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; ">I'm not sure what's happening here and why I am unable to list the queues from a particular vHost.</div>
</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; ">Cheers,</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; ">Ron</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
<div style="font-family: Calibri, sans-serif; "><br>
</div>
</body>
</html>