<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">Thank you again.<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">I use Microsoft Network Monitor to get the traffic between the server and the LDAP, but I can’t see the traffic of the RabbitMQ LDAP Plugin. I
 can see the traffic between Apache and the LDAP, but not between RabbitMQ and LDAP.<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">So, I think I have something wrong in my config file, buy I don’t know what.<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">Any other ideas?<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">Thanks!<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"><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=28775&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>]
<br>
<b>Enviado el:</b> martes, 13 de agosto de 2013 15:25<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">Hmm. Nevertheless, eldap returns &quot;connect failed&quot; when a connection
<br>
can't be established at the TCP / SSL level - before anything LDAPish <br>
happens. Unfortunately it swallows the real errors in this case, but it <br>
really does look like a connectivity problem. <br>
<br>
Cheers, Simon <br>
<br>
On 13/08/2013 12:24PM, jandres wrote: <o:p></o:p></p>
<div>
<p class="MsoNormal"><br>
&gt; In my real config file I use the IP of the server. <br>
&gt; <br>
&gt; In the same server, I have an Apache instance that use the same LDAP <br>
&gt; server to validate the users, so I think the connection between the <br>
&gt; server and de LDAP is not the problem. <br>
&gt; <br>
&gt; Thank you! <br>
&gt; <br>
&gt; *De:*Simon MacMullen-2 [via RabbitMQ] [mailto:ml-node&#43;[hidden email] <br>
&gt; &lt;/user/SendEmail.jtp?type=node&amp;node=28754&amp;i=0&gt;] <br>
&gt; *Enviado el:* martes, 13 de agosto de 2013 13:13 <br>
&gt; *Para:* SAG - Jonathan Andrés <br>
&gt; *Asunto:* Re: rabbit_auth_backend_ldap connect failed <br>
&gt; <br>
&gt; So your LDAP server is called &quot;ldap-server&quot;? Can you telnet to port 389 <br>
&gt; on that server? <br>
&gt; <br>
&gt; Cheers, Simon <br>
&gt; <br>
&gt; On 13/08/2013 10:19AM, jandres wrote: <br>
&gt; <br>
&gt; <br>
&gt; &nbsp;&gt; Hi, <br>
&gt; &nbsp;&gt; <br>
&gt; &nbsp;&gt; I’m trying to configure rabbit_auth_backend_ldap, but I get this error: <br>
&gt; &nbsp;&gt; <br>
&gt; &nbsp;&gt; ------------------ <br>
&gt; &nbsp;&gt; =INFO REPORT==== 13-Aug-2013::11:01:52 === <br>
&gt; &nbsp;&gt; accepting AMQP connection &lt;0.336.0&gt; (194.224.33.160:37051 -&gt; <br>
&gt; &nbsp;&gt; 194.224.33.245:5671) <br>
&gt; &nbsp;&gt; <br>
&gt; &nbsp;&gt; =ERROR REPORT==== 13-Aug-2013::11:01:57 === <br>
&gt; &nbsp;&gt; closing AMQP connection &lt;0.336.0&gt; (194.224.33.160:37051 -&gt; <br>
&gt; &nbsp;&gt; 194.224.33.245:5671): <br>
&gt; &nbsp;&gt; {handshake_error,starting,0, <br>
&gt; &nbsp;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {amqp_error,access_refused, <br>
&gt; &nbsp;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;PLAIN login refused: <br>
&gt; rabbit_auth_backend_ldap <br>
&gt; &nbsp;&gt; failed authenticating XXXXX: \&quot;*connect failed*\&quot;\n&quot;, <br>
&gt; &nbsp;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *'connection.start_ok'*}} <br>
&gt; &nbsp;&gt; ------------------ <br>
&gt; &nbsp;&gt; <br>
&gt; &nbsp;&gt; This is my rabbitmq.config file: <br>
&gt; &nbsp;&gt; <br>
&gt; &nbsp;&gt; ------------------ <br>
&gt; &nbsp;&gt; [ <br>
&gt; &nbsp;&gt; &nbsp; &nbsp;{rabbit, [ <br>
&gt; &nbsp;&gt; {ssl_listeners, [5671]}, <br>
&gt; &nbsp;&gt; {ssl_options, [{cacertfile,&quot;e:/RabbitMQ Server /ssl.ca/ca.cer&quot;}, <br>
&gt; &nbsp;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{certfile,&quot;e:/RabbitMQ Server <br>
&gt; /ssl.crt/apache.pem&quot;}, <br>
&gt; &nbsp;&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;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{verify,verify_peer}, <br>
&gt; &nbsp;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{fail_if_no_peer_cert,true}, <br>
&gt; &nbsp;&gt; {ssl_cert_login_from, common_name}, <br>
&gt; &nbsp;&gt; {auth_mechanisms, ['EXTERNAL']}] <br>
&gt; &nbsp;&gt; }, <br>
&gt; &nbsp;&gt; {auth_backends, [rabbit_auth_backend_ldap]} <br>
&gt; &nbsp;&gt; ]}, <br>
&gt; &nbsp;&gt; &nbsp; &nbsp;{rabbit_auth_backend_ldap, <br>
&gt; &nbsp;&gt; &nbsp; &nbsp; [ {servers, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [&quot;ldap-server&quot;]}, <br>
&gt; &nbsp;&gt; &nbsp; &nbsp; &nbsp; {port, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;389}, <br>
&gt; &nbsp;&gt; {other_bind, {&quot;userXX&quot;, &quot;passwordXX&quot;}}, <br>
&gt; &nbsp;&gt; {user_dn_pattern, &nbsp; &nbsp; &nbsp; &quot;uid=${username}&quot;}, <br>
&gt; &nbsp;&gt; {use_ssl, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; false}, <br>
&gt; &nbsp;&gt; &nbsp; &nbsp; &nbsp; {log, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; network} <br>
&gt; &nbsp;&gt; &nbsp; &nbsp; ] <br>
&gt; &nbsp;&gt; &nbsp; &nbsp;} <br>
&gt; &nbsp;&gt; ]. <br>
&gt; &nbsp;&gt; --------- <br>
&gt; &nbsp;&gt; <br>
&gt; &nbsp;&gt; If this can help, I have an instance of Apache (Httpd) working with that <br>
&gt; &nbsp;&gt; LDAP server, and I have this in my apache configuration: <br>
&gt; &nbsp;&gt; <br>
&gt; &nbsp;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AuthLDAPBindDN &nbsp;&quot;userXX&quot; <br>
&gt; &nbsp;&gt; AuthLDAPBindPassword &quot;passwordXX&quot; <br>
&gt; &nbsp;&gt; <br>
&gt; &nbsp;&gt; I have tried a lot of things to stablish the connection, but i don't <br>
&gt; know <br>
&gt; &nbsp;&gt; why i get the error. Can you help me? <br>
&gt; &nbsp;&gt; <br>
&gt; &nbsp;&gt; <br>
&gt; &nbsp;&gt; Thank you very much! <br>
&gt; &nbsp;&gt; <br>
&gt; &nbsp;&gt; <br>
&gt; &nbsp;&gt; <br>
&gt; &nbsp;&gt; <br>
&gt; &nbsp;&gt; -- <br>
&gt; &nbsp;&gt; View this message in context: <br>
&gt; <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; &nbsp;&gt; Sent from the RabbitMQ mailing list archive at Nabble.com. <br>
&gt; &nbsp;&gt; _______________________________________________ <br>
&gt; &nbsp;&gt; rabbitmq-discuss mailing list <br>
&gt; &nbsp;&gt; [hidden email] &lt;/user/SendEmail.jtp?type=node&amp;node=28752&amp;i=0&gt; <br>
&gt; &nbsp;&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; &nbsp;&gt; <br>
&gt; <br>
&gt; <br>
&gt; -- <br>
&gt; Simon MacMullen <br>
&gt; RabbitMQ, Pivotal <br>
&gt; _______________________________________________ <br>
&gt; rabbitmq-discuss mailing list <br>
&gt; [hidden email] &lt;/user/SendEmail.jtp?type=node&amp;node=28752&amp;i=1&gt; <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; <br>
&gt; ------------------------------------------------------------------------ <br>
&gt; <br>
&gt; *If you reply to this email, your message will be added to the <br>
&gt; discussion below:* <br>
&gt; <br>
&gt; <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><br>
&gt; <br>
&gt; <br>
&gt; To unsubscribe from rabbit_auth_backend_ldap connect failed, click here. <br>
&gt; NAML <br>
&gt; &lt;<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">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</a>&gt;
<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; ------------------------------------------------------------------------ <br>
&gt; View this message in context: RE: rabbit_auth_backend_ldap connect <br>
&gt; failed <br>
&gt; &lt;<a href="http://rabbitmq.1065348.n5.nabble.com/rabbit-auth-backend-ldap-connect-failed-tp28750p28754.html" target="_top" rel="nofollow" link="external">http://rabbitmq.1065348.n5.nabble.com/rabbit-auth-backend-ldap-connect-failed-tp28750p28754.html</a>&gt;
<br>
&gt; Sent from the RabbitMQ mailing list archive <br>
&gt; &lt;<a href="http://rabbitmq.1065348.n5.nabble.com/" target="_top" rel="nofollow" link="external">http://rabbitmq.1065348.n5.nabble.com/</a>&gt; at Nabble.com.
<br>
&gt; <br>
&gt; <br>
&gt; _______________________________________________ <br>
&gt; rabbitmq-discuss mailing list <br>
&gt; <a href="/user/SendEmail.jtp?type=node&amp;node=28756&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=28756&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-tp28750p28756.html" target="_top" rel="nofollow" link="external">http://rabbitmq.1065348.n5.nabble.com/rabbit-auth-backend-ldap-connect-failed-tp28750p28756.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-tp28750p28775.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/>