<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — [Solved] LDAP bind fails -- was 127.0.0.1 deny problem]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic3976.xml" />
	<updated>2012-10-04T17:54:57Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic3976-solved-ldap-bind-fails-was-127001-deny-problem.html</id>
		<entry>
			<title type="html"><![CDATA[Re: [Solved] LDAP bind fails -- was 127.0.0.1 deny problem]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18456.html#p18456" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[codexwilkes]]></name>
				<uri>http://www.iredmail.org/forum/user32017.html</uri>
			</author>
			<updated>2012-10-04T17:54:57Z</updated>
			<id>http://www.iredmail.org/forum/post18456.html#p18456</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [Solved] LDAP bind fails -- was 127.0.0.1 deny problem]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18453.html#p18453" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Nathan Wilkes]]></name>
				<uri>http://www.iredmail.org/forum/user2330.html</uri>
			</author>
			<updated>2012-10-04T16:55:51Z</updated>
			<id>http://www.iredmail.org/forum/post18453.html#p18453</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[[Solved] LDAP bind fails -- was 127.0.0.1 deny problem]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18452.html#p18452" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[codexwilkes]]></name>
				<uri>http://www.iredmail.org/forum/user32017.html</uri>
			</author>
			<updated>2012-10-04T15:24:41Z</updated>
			<id>http://www.iredmail.org/forum/post18452.html#p18452</id>
		</entry>
</feed>
