[rabbitmq-discuss] rabbitmq with only ldap auth
Joey Jiao
joey.jiaojg at gmail.com
Mon Jun 30 11:05:19 BST 2014
Yes, I tried log to true and network.
Possible this cause?
=WARNING REPORT==== 30-Jun-2014::18:02:38 ===
LDAP plugin loaded, but rabbit_auth_backend_ldap is not in the list of
auth_backends. LDAP auth will not work.
My config is:
[
{rabbit, [
{reverse_dns_lookups, true},
{auth_backends, [rabbit_auth_backend_ldap]}
]},
{rabbitmq_auth_backend_ldap, [
{servers, ["ldap.qualcomm.com"]},
{user_dn_pattern, "uid=${username},ou=people,o=xxx"},
{use_ssl, false},
{port, 389},
{log, network},
{vhost_access_query, {exists, "uid=${username},ou=people,o=xxx"}},
{resource_access_query, {
{for, [{resource, exchange, {for, [{permission, configure, {constant,
true}},{permission, write, {constant, true}}, {permission, read, {constant,
true}}]}},
{resource, queue, {constant, true}}]}
}},
{tag_queries, [{administrator, {constant, true}},
{management, {constant, true}}]}
]}
].
2014-06-30 17:36 GMT+08:00 Simon MacMullen <simon at rabbitmq.com>:
> On 30/06/14 10:15, Joey Jiao wrote:
>
>> I'm trying to setup a rabbitmq with only ldap auth but I cannot login in
>> from web 15672. I followed exactly http://www.rabbitmq.com/ldap.html
>> Any idea or other link?
>>
>
> Turn on {log, true} in your LDAP config (see http://www.rabbitmq.com/ldap.
> html#basic). This will log all the decisions the LDAP plugin is making
> and help you see where it's going wrong.
>
> Cheers, Simon
>
> --
> Simon MacMullen
> RabbitMQ, Pivotal
>
--
-Joey Jiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140630/ba0559e2/attachment.html>
More information about the rabbitmq-discuss
mailing list