[rabbitmq-discuss] RabbitMQ 3.3.0 doesn't working with OpenLDAP ????

ngoc.tang at quant-edge.com ngoc.tang at quant-edge.com
Tue Apr 29 03:21:16 BST 2014


Dear All
I am setup RabbitMQ 3.3.0 anh config authentication with Open Ldap, but it 
not work.
*This is the log file:   *when i try logon

=INFO REPORT==== 29-Apr-2014::08:48:36 ===
Starting RabbitMQ 3.3.0 on Erlang R14B04
Copyright (C) 2007-2013 GoPivotal, Inc.
Licensed under the MPL.  See http://www.rabbitmq.com/
=INFO REPORT==== 29-Apr-2014::08:48:36 ===
node           : rabbit at jabber
home dir       : /var/lib/rabbitmq
config file(s) : /etc/rabbitmq/rabbitmq.config
cookie hash    : 35evYSGOFlwFMikMqgLbqw==
log            : /var/log/rabbitmq/rabbit at jabber.log
sasl log       : /var/log/rabbitmq/rabbit at jabber-sasl.log
database dir   : /var/lib/rabbitmq/mnesia/rabbit at jabber
=INFO REPORT==== 29-Apr-2014::08:48:37 ===
Limiting to approx 924 file handles (829 sockets)
=INFO REPORT==== 29-Apr-2014::08:48:37 ===
Memory limit set to 395MB of 989MB total.
=INFO REPORT==== 29-Apr-2014::08:48:37 ===
Disk free limit set to 40000MB
=INFO REPORT==== 29-Apr-2014::08:48:37 ===
msg_store_transient: using rabbit_msg_store_ets_index to provide index
=INFO REPORT==== 29-Apr-2014::08:48:37 ===
msg_store_persistent: using rabbit_msg_store_ets_index to provide index
=INFO REPORT==== 29-Apr-2014::08:48:47 ===
started TCP Listener on 10.0.25.132:5672
=INFO REPORT==== 29-Apr-2014::08:48:52 ===
started SSL Listener on 10.0.25.132:5671
=INFO REPORT==== 29-Apr-2014::08:48:57 ===
Management plugin started. Port: 15672
=INFO REPORT==== 29-Apr-2014::08:48:57 ===
Statistics database started.
=INFO REPORT==== 29-Apr-2014::08:48:57 ===
Server startup complete; 8 plugins started.
 * amqp_client
 * mochiweb
 * rabbitmq_auth_mechanism_ssl
 * rabbitmq_federation_management
 * rabbitmq_management
 * rabbitmq_management_agent
 * rabbitmq_web_dispatch
 * webmachine
=ERROR REPORT==== 29-Apr-2014::08:58:10 ===
webmachine error: path="/api/whoami"
{error,undef,
       [{rabbit_auth_backend_ldap,check_user_login,
                                  [<<"user.test">>,
                                   [{password,<<"abc123456">>}]]},
        {rabbit_access_control,try_login,3},
        {rabbit_access_control,'-check_user_login/2-fun-0-',4},
        {lists,foldl,3},
        {rabbit_access_control,check_user_login,2},
        {rabbit_mgmt_util,is_authorized,6},
        {webmachine_resource,resource_call,3},
        {webmachine_resource,do,3}]}


*And this is config file*

[
>   {rabbit, [
>      {tcp_listeners, [{"10.x.x.x",5672}]},
>      {ssl_listeners, [{"10.x.x.x",5671}]},
>      {ssl_options, [{cacertfile,"/etc/rabbitmq/ssl/nvca/cacert.pem"},
>                     {certfile,"/etc/rabbitmq/ssl/server/cert.pem"},
>                     {keyfile,"/etc/rabbitmq/ssl/server/key.pem"},
>                     {verify,verify_none},
>                     {fail_if_no_peer_cert,false}]},
>      {heartbeat, 15},
>      {vm_memory_high_watermark_paging_ratio, 0.75},
>      {vm_memory_high_watermark, 0.4},
>      {auth_backends, [{rabbit_auth_backend_ldap, 
> rabbit_auth_backend_internal},
>                           rabbit_auth_backend_internal]},
>      {disk_free_limit, 40000000000}
>   ]},
>   {rabbitmq_auth_backend_ldap,
>    [ {servers,               ["ldapserver.com"]},
>      {dn_lookup_attribute,   {"uid","%u"}},
>      {dn_lookup_base,        "dc=ldapserver,dc=com"},
>      {other_bind,           
>  ["cn=manager,cn=internal,dc=ldapserver,dc=com","sTwQCDWHTuuNO5bo"]},
>      {use_ssl,               false},
>      {port,                  389},
>      {log,                   network},
>      {tag_queries,           [{administrator, {constant, true}},
>                               {management,    {constant, true}}]}
>    ]
>   }
> ].


*Information of LDAP server is*:

LDAP Base DNdc=ldapserver,dc=comLDAP Bind DN
cn=manager,cn=internal,dc=ldapserver,dc=comLDAP Bind Password
Ad09DSJwidjdwf89D

Can anybody help me troubleshoot problem, Please 
Thanks so much

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140428/e6bdefa5/attachment.html>


More information about the rabbitmq-discuss mailing list