From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QyneQ-0005hS-H4 for garchives@archives.gentoo.org; Wed, 31 Aug 2011 16:28:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43E8A21C31A; Wed, 31 Aug 2011 16:27:57 +0000 (UTC) Received: from fmmailgate03.web.de (fmmailgate03.web.de [217.72.192.234]) by pigeon.gentoo.org (Postfix) with ESMTP id 5DA1921C324 for ; Wed, 31 Aug 2011 16:24:33 +0000 (UTC) Received: from smtp04.web.de ( [172.20.0.225]) by fmmailgate03.web.de (Postfix) with ESMTP id C83DC1982D4DC for ; Wed, 31 Aug 2011 18:24:32 +0200 (CEST) Received: from [87.146.36.199] (helo=polaris) by smtp04.web.de with asmtp (WEB.DE 4.110 #2) id 1Qynaa-0003B6-00 for gentoo-user@lists.gentoo.org; Wed, 31 Aug 2011 18:24:32 +0200 Date: Wed, 31 Aug 2011 18:24:26 +0200 From: Johannes Geiss To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] OpenLDAP works only at localhost, not from outside Message-ID: <20110831182426.79c1b146@polaris> Organization: private X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.4; powerpc-unknown-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAAAXNSR0IArs4c6QAAAAZQTFRF////AAAAVcLTfgAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kIGA04ErDGjRYAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAA9UlEQVQY02NggIMNYJL/H5iq/98AJBn//38ApNj///8Akvr//w+QkodTIKX2cCoORL1ayQ6iLjBwI1ELGECC9QsYmCEUK9Ds+hVg3v9QBlYQVX9BGERVJv4HUf6KdUBqX9dKMxDV0ZkFdEpcQ6AQkHfegdMJSIU1KDIBKfcFK5pAvAWBbEAqPSAaxKtb/P0MyKLg/8+AlN1yzzdAyjro6RKQqwN2SwAp6RVTZ4AEr4QFAKmat4wGQOrXXy+gbxl/xTsdYGBgfhEfDXQm8xvu1yCvfxEFBYj8F6ZwoJL6P6ziP4DO/MPQDgwJoP9Bgfb/P4PwfwYAN95hyYFDyBEAAAAASUVORK5CYII= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/WeY+O7mC_3V9KbZad.DjK6Y"; protocol="application/pgp-signature" Sender: johannes.geiss@web.de X-Sender: johannes.geiss@web.de X-Provags-ID: V01U2FsdGVkX19JLvK0+CMS7YWtpTKiAUj1fksEMItO+8BLMVX9 2wMwxx1RTmgeJbljgStASYIcFMZ7DV0o03BP90JC/IsBcyNus5 OlqKxKJn2ZSKRaVYJEpw== X-Archives-Salt: X-Archives-Hash: 79511b1e5147e8b81f9da9de18bb3461 --Sig_/WeY+O7mC_3V9KbZad.DjK6Y Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi there, I want to access my LDAP-data from anywhere on the internet but I only get it working on localhost. I installed OpenLDAP 2.4.24, and tried to do the tutorial at http://www.yolinux.com/TUTORIALS/LinuxTutorialLDAP.html The LDAP database works fine from localhost with ldapsearch -vLx -b "o=3Dstooges" "(sn=3DFine)" -h localhost but if I try to do it from the outside (ie. the IP address my router gave me via DHCP) ldapsearch -vLx -b "o=3Dstooges" "(sn=3DFine)" -h xxx.xxx.xxx.xxx I get the output "ldap_initialize( ldap://xxx.xxx.xxx.xxx )" and the client hangs. The slapd server prints slap_listener_activate(6): >>> slap_listener(ldap:///) connection_get(17): got connid=3D1000 connection_read(17): checking for input on id=3D1000 ber_get_next ber_get_next: tag 0x30 len 12 contents: op tag 0x60, time 1314787890 ber_get_next conn=3D1000 op=3D0 do_bind ber_scanf fmt ({imt) ber: ber_scanf fmt (m}) ber: >>> dnPrettyNormal: <> <<< dnPrettyNormal: <>, <> do_bind: version=3D3 dn=3D"" method=3D128 send_ldap_result: conn=3D1000 op=3D0 p=3D3 send_ldap_response: msgid=3D1 tag=3D97 err=3D0 ber_flush2: 14 bytes to sd 17 do_bind: v3 anonymous bind and hangs at this point until I Ctrl-C the client or wait approx. 5 Minutes. Does anybody successfully installed an LDAP-service with access from the outside? What is the content of slapd.conf? Did I miss anything else? Thank you for any suggestions Johannes --=20 ------//-------------------------------------------------------------- // PGP at https://pegasos.dnsalias.org/~jgeiss/pgpkey.txt \\ // Johannes R. Geiss Pandora, Zaurus, Pegasos, Amiga and C64 --\X/----------------------------------------------------------------- --Sig_/WeY+O7mC_3V9KbZad.DjK6Y Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEARECAAYFAk5eYD4ACgkQWQV4hrNqihXQUgCgwuIZu41b3U4J8cyc0SVcY+d0 groAoKfh8lvv9NjYqwCUIB9U+SV4QQfK =bbV+ -----END PGP SIGNATURE----- --Sig_/WeY+O7mC_3V9KbZad.DjK6Y--