<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — [Solved] LDAP bind fails -- was 127.0.0.1 deny problem]]></title>
		<link>http://www.iredmail.org/forum/topic3976-solved-ldap-bind-fails-was-127001-deny-problem.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic3976.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [Solved] LDAP bind fails -- was 127.0.0.1 deny problem.]]></description>
		<lastBuildDate>Thu, 04 Oct 2012 17:54:57 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [Solved] LDAP bind fails -- was 127.0.0.1 deny problem]]></title>
			<link>http://www.iredmail.org/forum/post18456.html#p18456</link>
			<description><![CDATA[<p>Well, the problem turned out to be simple: for some reason all connections to 127.0.0.1 were being blocked (via /etc/hosts.deny).&nbsp; My LDAP test was invalid because I was addressing a different (cached) IP.&nbsp; And, slapd was only the first error, not the only error, which confused me initially.</p>]]></description>
			<author><![CDATA[null@example.com (codexwilkes)]]></author>
			<pubDate>Thu, 04 Oct 2012 17:54:57 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post18456.html#p18456</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Solved] LDAP bind fails -- was 127.0.0.1 deny problem]]></title>
			<link>http://www.iredmail.org/forum/post18453.html#p18453</link>
			<description><![CDATA[<p>By way of context, this is a long running server, and there have been no mail config changes.&nbsp; I have increased the debug level in ldap_virtual_alias_maps.cf to 1 but I can&#039;t see anything in the logs which point to the problem.</p><br /><p>09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_create<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_url_parse_ext(ldap://127.0.0.1:389)<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_sasl_bind<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_send_initial_request<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_new_connection 1 1 0<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_int_open_connection<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_connect_to_host: TCP 127.0.0.1:389<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_new_socket: 9<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_prepare_socket: 9<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_connect_to_host: Trying 127.0.0.1:389<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_pvt_connect: fd: 9 tm: 10 async: 0<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_ndelay_on: 9<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_int_poll: fd: 9 tm: 10<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_is_sock_ready: 9<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_ndelay_off: 9<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_pvt_connect: 0<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_open_defconn: successful<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_send_server_request<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ber_scanf fmt ({it) ber:<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ber_scanf fmt ({i) ber:<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ber_flush2: 74 bytes to sd 9<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_result ld 0x7f3d4c031340 msgid 1<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: wait4msg ld 0x7f3d4c031340 msgid 1 (timeout 10000000 usec)<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: wait4msg continue ld 0x7f3d4c031340 msgid 1 all 1<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ** ld 0x7f3d4c031340 Connections:<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: * host: 127.0.0.1&nbsp; port: 389&nbsp; (default)<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug:&nbsp; &nbsp;refcnt: 2&nbsp; status: Connected<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug:&nbsp; &nbsp;last used: Thu Oct&nbsp; 4 09:43:21 2012<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: <br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ** ld 0x7f3d4c031340 Outstanding Requests:<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug:&nbsp; * msgid 1,&nbsp; origid 1, status InProgress<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug:&nbsp; &nbsp; outstanding referrals 0, parent count 0<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug:&nbsp; &nbsp;ld 0x7f3d4c031340 request count 1 (abandoned 0)<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ** ld 0x7f3d4c031340 Response Queue:<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug:&nbsp; &nbsp; Empty<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug:&nbsp; &nbsp;ld 0x7f3d4c031340 response count 0<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_chkResponseList ld 0x7f3d4c031340 msgid 1 all 1<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_chkResponseList returns ld 0x7f3d4c031340 NULL<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_int_select<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: read1msg: ld 0x7f3d4c031340 msgid 1 all 1<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ber_get_next<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: dict_ldap_debug: ldap_err2string<br />Oct&nbsp; 4 09:43:21 perotinus postfix/proxymap[7836]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 as cn=vmail,dc=codexwilkes,dc=com: -1 (Can&#039;t contact LDAP server)</p>]]></description>
			<author><![CDATA[null@example.com (Nathan Wilkes)]]></author>
			<pubDate>Thu, 04 Oct 2012 16:55:51 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post18453.html#p18453</guid>
		</item>
		<item>
			<title><![CDATA[[Solved] LDAP bind fails -- was 127.0.0.1 deny problem]]></title>
			<link>http://www.iredmail.org/forum/post18452.html#p18452</link>
			<description><![CDATA[<p>Using iRedmail .72, Ubuntu 10.04, LDAP.</p><p>Encountering these fatal errors: <br />postfix/proxymap[5875]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 as cn=vmail,dc=codexwilkes,dc=com: -1 (Can&#039;t contact LDAP server)<br />postfix/trivial-rewrite[6103]: fatal: proxy:ldap:/etc/postfix/ldap_virtual_alias_maps.cf(0,lock|fold_fix): table lookup problem</p><p>OpenLAP is running (have tried restarting), and I can browse LDAP using Apache Directory Studio using the same credentials.&nbsp; What else should I be looking for?</p>]]></description>
			<author><![CDATA[null@example.com (codexwilkes)]]></author>
			<pubDate>Thu, 04 Oct 2012 15:24:41 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post18452.html#p18452</guid>
		</item>
	</channel>
</rss>
