<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:&quot;Calibri&quot;,&quot;sans-serif&quot;;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:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;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:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thank you!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">De:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Simon MacMullen-2 [via RabbitMQ] [mailto:ml-node&#43;<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>&nbsp;</o:p></p>
<p class="MsoNormal">So your LDAP server is called &quot;ldap-server&quot;? 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>
&gt; Hi, <br>
&gt; <br>
&gt; I’m trying to configure rabbit_auth_backend_ldap, but I get this error: <br>
&gt; <br>
&gt; ------------------ <br>
&gt; =INFO REPORT==== 13-Aug-2013::11:01:52 === <br>
&gt; accepting AMQP connection &lt;0.336.0&gt; (194.224.33.160:37051 -&gt; <br>
&gt; 194.224.33.245:5671) <br>
&gt; <br>
&gt; =ERROR REPORT==== 13-Aug-2013::11:01:57 === <br>
&gt; closing AMQP connection &lt;0.336.0&gt; (194.224.33.160:37051 -&gt; <br>
&gt; 194.224.33.245:5671): <br>
&gt; {handshake_error,starting,0, <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {amqp_error,access_refused, <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;PLAIN login refused: rabbit_auth_backend_ldap <br>
&gt; failed authenticating XXXXX: \&quot;*connect failed*\&quot;\n&quot;, <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *'connection.start_ok'*}} <br>
&gt; ------------------ <br>
&gt; <br>
&gt; This is my rabbitmq.config file: <br>
&gt; <br>
&gt; ------------------ <br>
&gt; [ <br>
&gt; &nbsp; &nbsp;{rabbit, [ <br>
&gt; {ssl_listeners, [5671]}, <br>
&gt; {ssl_options, [{cacertfile,&quot;e:/RabbitMQ Server /ssl.ca/ca.cer&quot;}, <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{certfile,&quot;e:/RabbitMQ Server /ssl.crt/apache.pem&quot;}, <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{keyfile,&quot;e:/RabbitMQ Server /ssl.key/apache.pem&quot;}, <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{verify,verify_peer}, <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{fail_if_no_peer_cert,true}, <br>
&gt; {ssl_cert_login_from, common_name}, <br>
&gt; {auth_mechanisms, ['EXTERNAL']}] <br>
&gt; }, <br>
&gt; {auth_backends, [rabbit_auth_backend_ldap]} <br>
&gt; ]}, <br>
&gt; &nbsp; &nbsp;{rabbit_auth_backend_ldap, <br>
&gt; &nbsp; &nbsp; [ {servers, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [&quot;ldap-server&quot;]}, <br>
&gt; &nbsp; &nbsp; &nbsp; {port, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;389}, <br>
&gt; {other_bind, {&quot;userXX&quot;, &quot;passwordXX&quot;}}, <br>
&gt; {user_dn_pattern, &nbsp; &nbsp; &nbsp; &quot;uid=${username}&quot;}, <br>
&gt; {use_ssl, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; false}, <br>
&gt; &nbsp; &nbsp; &nbsp; {log, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; network} <br>
&gt; &nbsp; &nbsp; ] <br>
&gt; &nbsp; &nbsp;} <br>
&gt; ]. <br>
&gt; --------- <br>
&gt; <br>
&gt; If this can help, I have an instance of Apache (Httpd) working with that <br>
&gt; LDAP server, and I have this in my apache configuration: <br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AuthLDAPBindDN &nbsp;&quot;userXX&quot; <br>
&gt; AuthLDAPBindPassword &quot;passwordXX&quot; <br>
&gt; <br>
&gt; I have tried a lot of things to stablish the connection, but i don't know <br>
&gt; why i get the error. Can you help me? <br>
&gt; <br>
&gt; <br>
&gt; Thank you very much! <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; -- <br>
&gt; 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>
&gt; Sent from the RabbitMQ mailing list archive at Nabble.com. <br>
&gt; _______________________________________________ <br>
&gt; rabbitmq-discuss mailing list <br>
&gt; <a href="/user/SendEmail.jtp?type=node&amp;node=28752&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br>
&gt; <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>
&gt; <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&amp;node=28752&amp;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:&quot;Tahoma&quot;,&quot;sans-serif&quot;;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:&quot;Tahoma&quot;,&quot;sans-serif&quot;;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:&quot;Tahoma&quot;,&quot;sans-serif&quot;;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&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;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:&quot;Times New Roman&quot;,&quot;serif&quot;">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/>