<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.ubuntu-fr.org/extern.php?action=feed&amp;tid=1109661&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=1109661</link>
		<description><![CDATA[Les sujets les plus récents dans ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1).]]></description>
		<lastBuildDate>Tue, 20 Nov 2012 01:37:15 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11572211#p11572211</link>
			<description><![CDATA[<p>oui t&#039;a raison, j&#039;ai finalement&#160; résolu mon problème.<br />le certificat TLS client a expiré, du coup ça merde XD !!<br />la solution que j&#039;ai trouvé c&#039;est que dans le fichier ldap.conf j&#039;ai changé la ligne TLS_REQCERT demand à TLS_REQCERT never <img src="http://forum.ubuntu-fr.org/img/smilies/lol.png" width="15" height="15" alt="lol" /><br />et dans le fichier pam_ldap.conf la ligne tls_checkpeer yes à tls_checkpeer no <img src="http://forum.ubuntu-fr.org/img/smilies/cool.png" width="15" height="15" alt="cool" /><br />et le tour est joué, sinon il aura fallu se démerder avec l&#039;histoire des certificats, or que c&#039;est pas une priorité <img src="http://forum.ubuntu-fr.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (mounirSTE)]]></author>
			<pubDate>Tue, 20 Nov 2012 01:37:15 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11572211#p11572211</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11569021#p11569021</link>
			<description><![CDATA[<p>Je n&#039;ai jamais eu ce message d&#039;erreur, cela dit cette ligne semble assez explicite : &quot;TLS: peer cert untrusted or revoked (0x402)&quot;</p>]]></description>
			<author><![CDATA[dummy@example.com (tiramiseb)]]></author>
			<pubDate>Mon, 19 Nov 2012 19:36:54 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11569021#p11569021</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11562151#p11562151</link>
			<description><![CDATA[<p>regardez la sortie de ldapsearch -x -d 1</p><div class="codebox"><pre><code>root@client:~# ldapsearch -x -d 1
ldap_create
ldap_sasl_bind
ldap_send_initial_request
ldap_new_connection 1 1 0
ldap_int_open_connection
ldap_connect_to_host: TCP myLdapServer.myDomain.com:636
ldap_new_socket: 3
ldap_prepare_socket: 3
ldap_connect_to_host: Trying 192.168.0.207:636
ldap_pvt_connect: fd: 3 tm: -1 async: 0
TLS: peer cert untrusted or revoked (0x402)
TLS: can&#039;t connect: (unknown error code).
ldap_err2string
ldap_sasl_bind(SIMPLE): Can&#039;t contact LDAP server (-1)</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (mounirSTE)]]></author>
			<pubDate>Mon, 19 Nov 2012 07:52:03 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11562151#p11562151</guid>
		</item>
		<item>
			<title><![CDATA[ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11561961#p11561961</link>
			<description><![CDATA[<p>Bonjour,</p><p>Bon, voilà le problème, quand j&#039;essaye de faire un ldapsearch -x sur la machine client, j&#039;ai cette erreur là :<br />&quot;ldap_sasl_bind(SIMPLE): Can&#039;t contact LDAP server (-1)&quot;.</p><p>ET quand je fais un ldapsearch -x -d -1 j&#039;ai ça :</p><div class="codebox"><pre><code>TLS: peer cert untrusted or revoked (0x402)
TLS: can&#039;t connect: (unknown error code).
ldap_err2string
ldap_sasl_bind(SIMPLE): Can&#039;t contact LDAP server (-1)</code></pre></div><p>avec bq de code en HEXA un peux plus haut <img src="http://forum.ubuntu-fr.org/img/smilies/hmm.png" width="15" height="15" alt="hmm" /> (c&#039;est un échange de certificat entre client / serveur LDAP&#160; je pense <img src="http://forum.ubuntu-fr.org/img/smilies/roll.png" width="15" height="15" alt="roll" />)<br />Je ne sais pas si le certificat TLS a expirée ou non &quot;j&#039;y conné rien en TLS, SSL ...&quot;, alors si quelqu&#039;un à déjà eu ce type d&#039;erreur, un petit coup de pouce sera trés apprécié <img src="http://forum.ubuntu-fr.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /><br />Merci</p>]]></description>
			<author><![CDATA[dummy@example.com (mounirSTE)]]></author>
			<pubDate>Mon, 19 Nov 2012 07:15:45 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11561961#p11561961</guid>
		</item>
	</channel>
</rss>
