<div dir="ltr"><div>Yes, I tried log to true and network.<br><br>Possible this cause?<br>=WARNING REPORT==== 30-Jun-2014::18:02:38 ===<br>LDAP plugin loaded, but rabbit_auth_backend_ldap is not in the list of auth_backends. LDAP auth will not work.<br>
<br><br></div>My config is:<br>[<br> {rabbit, [<br> {reverse_dns_lookups, true},<br> {auth_backends, [rabbit_auth_backend_ldap]}<br> ]},<br> {rabbitmq_auth_backend_ldap, [<br> {servers, ["<a href="http://ldap.qualcomm.com">ldap.qualcomm.com</a>"]},<br>
{user_dn_pattern, "uid=${username},ou=people,o=xxx"},<br> {use_ssl, false},<br> {port, 389},<br> {log, network},<br> {vhost_access_query, {exists, "uid=${username},ou=people,o=xxx"}},<br>
{resource_access_query, {<br> {for, [{resource, exchange, {for, [{permission, configure, {constant, true}},{permission, write, {constant, true}}, {permission, read, {constant, true}}]}},<br> {resource, queue, {constant, true}}]}<br>
}},<br> {tag_queries, [{administrator, {constant, true}},<br> {management, {constant, true}}]}<br> ]}<br>].<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-30 17:36 GMT+08:00 Simon MacMullen <span dir="ltr"><<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 30/06/14 10:15, Joey Jiao wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm trying to setup a rabbitmq with only ldap auth but I cannot login in<br>
from web 15672. I followed exactly <a href="http://www.rabbitmq.com/ldap.html" target="_blank">http://www.rabbitmq.com/ldap.<u></u>html</a><br>
Any idea or other link?<br>
</blockquote>
<br></div>
Turn on {log, true} in your LDAP config (see <a href="http://www.rabbitmq.com/ldap.html#basic" target="_blank">http://www.rabbitmq.com/ldap.<u></u>html#basic</a>). This will log all the decisions the LDAP plugin is making and help you see where it's going wrong.<br>
<br>
Cheers, Simon<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Simon MacMullen<br>
RabbitMQ, Pivotal<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>-Joey Jiao
</div>