<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">In my real config file I use the IP of the server.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">In the same server, I have an Apache instance that use the same LDAP server to validate the users, so I think the connection between the server
and de LDAP is not the problem.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thank you!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Simon MacMullen-2 [via RabbitMQ] [mailto:ml-node+<a href="/user/SendEmail.jtp?type=node&node=28754&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>]
<br>
<b>Enviado el:</b> martes, 13 de agosto de 2013 13:13<br>
<b>Para:</b> SAG - Jonathan Andrés<br>
<b>Asunto:</b> Re: rabbit_auth_backend_ldap connect failed<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So your LDAP server is called "ldap-server"? Can you telnet to port 389
<br>
on that server? <br>
<br>
Cheers, Simon <br>
<br>
On 13/08/2013 10:19AM, jandres wrote: <o:p></o:p></p>
<div>
<p class="MsoNormal"><br>
> Hi, <br>
> <br>
> I’m trying to configure rabbit_auth_backend_ldap, but I get this error: <br>
> <br>
> ------------------ <br>
> =INFO REPORT==== 13-Aug-2013::11:01:52 === <br>
> accepting AMQP connection <0.336.0> (194.224.33.160:37051 -> <br>
> 194.224.33.245:5671) <br>
> <br>
> =ERROR REPORT==== 13-Aug-2013::11:01:57 === <br>
> closing AMQP connection <0.336.0> (194.224.33.160:37051 -> <br>
> 194.224.33.245:5671): <br>
> {handshake_error,starting,0, <br>
> {amqp_error,access_refused, <br>
> "PLAIN login refused: rabbit_auth_backend_ldap <br>
> failed authenticating XXXXX: \"*connect failed*\"\n", <br>
> *'connection.start_ok'*}} <br>
> ------------------ <br>
> <br>
> This is my rabbitmq.config file: <br>
> <br>
> ------------------ <br>
> [ <br>
> {rabbit, [ <br>
> {ssl_listeners, [5671]}, <br>
> {ssl_options, [{cacertfile,"e:/RabbitMQ Server /ssl.ca/ca.cer"}, <br>
> {certfile,"e:/RabbitMQ Server /ssl.crt/apache.pem"}, <br>
> {keyfile,"e:/RabbitMQ Server /ssl.key/apache.pem"}, <br>
> {verify,verify_peer}, <br>
> {fail_if_no_peer_cert,true}, <br>
> {ssl_cert_login_from, common_name}, <br>
> {auth_mechanisms, ['EXTERNAL']}] <br>
> }, <br>
> {auth_backends, [rabbit_auth_backend_ldap]} <br>
> ]}, <br>
> {rabbit_auth_backend_ldap, <br>
> [ {servers, ["ldap-server"]}, <br>
> {port, 389}, <br>
> {other_bind, {"userXX", "passwordXX"}}, <br>
> {user_dn_pattern, "uid=${username}"}, <br>
> {use_ssl, false}, <br>
> {log, network} <br>
> ] <br>
> } <br>
> ]. <br>
> --------- <br>
> <br>
> If this can help, I have an instance of Apache (Httpd) working with that <br>
> LDAP server, and I have this in my apache configuration: <br>
> <br>
> AuthLDAPBindDN "userXX" <br>
> AuthLDAPBindPassword "passwordXX" <br>
> <br>
> I have tried a lot of things to stablish the connection, but i don't know <br>
> why i get the error. Can you help me? <br>
> <br>
> <br>
> Thank you very much! <br>
> <br>
> <br>
> <br>
> <br>
> -- <br>
> View this message in context: <a href="http://rabbitmq.1065348.n5.nabble.com/rabbit-auth-backend-ldap-connect-failed-tp28750.html" target="_top" rel="nofollow" link="external">
http://rabbitmq.1065348.n5.nabble.com/rabbit-auth-backend-ldap-connect-failed-tp28750.html</a><br>
> Sent from the RabbitMQ mailing list archive at Nabble.com. <br>
> _______________________________________________ <br>
> rabbitmq-discuss mailing list <br>
> <a href="/user/SendEmail.jtp?type=node&node=28752&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br>
> <a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_top" rel="nofollow" link="external">
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
> <o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
-- <br>
Simon MacMullen <br>
RabbitMQ, Pivotal <br>
_______________________________________________ <br>
rabbitmq-discuss mailing list <br>
<a href="/user/SendEmail.jtp?type=node&node=28752&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_top" rel="nofollow" link="external">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br>
<o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="1" width="100%" noshade="" style="color:#CCCCCC" align="center">
</div>
<div>
<div>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444">If you reply to this email, your message will be added to the discussion below:<o:p></o:p></span></b></p>
</div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444"><a href="http://rabbitmq.1065348.n5.nabble.com/rabbit-auth-backend-ldap-connect-failed-tp28750p28752.html" target="_top" rel="nofollow" link="external">http://rabbitmq.1065348.n5.nabble.com/rabbit-auth-backend-ldap-connect-failed-tp28750p28752.html</a>
<o:p></o:p></span></p>
</div>
<div style="margin-top:4.8pt">
<p class="MsoNormal" style="line-height:18.0pt"><span style="font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#666666">To unsubscribe from rabbit_auth_backend_ldap connect failed,
<a href="" target="_top" rel="nofollow" link="external">
click here</a>.<br>
<a href="http://rabbitmq.1065348.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" target="_top" rel="nofollow" link="external"><span style="font-size:7.0pt;font-family:"Times New Roman","serif"">NAML</span></a>
<o:p></o:p></span></p>
</div>
</div>
        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://rabbitmq.1065348.n5.nabble.com/rabbit-auth-backend-ldap-connect-failed-tp28750p28754.html">RE: rabbit_auth_backend_ldap connect failed</a><br/>
Sent from the <a href="http://rabbitmq.1065348.n5.nabble.com/">RabbitMQ mailing list archive</a> at Nabble.com.<br/>