From owner-freebsd-questions@FreeBSD.ORG Wed Oct 13 01:33:28 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D50216A4CE for ; Wed, 13 Oct 2004 01:33:28 +0000 (GMT) Received: from smtp6.hknet.com (smtp6.hknet.com [202.67.240.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CB9143D3F for ; Wed, 13 Oct 2004 01:33:27 +0000 (GMT) (envelope-from kinux@hknet.com) Received: from winxp (vp178029.kln.uac66.hknet.com [203.169.178.29]) by smtp6.hknet.com (Postfix) with SMTP id 1AB9B66F54 for ; Wed, 13 Oct 2004 09:33:26 +0800 (HKT) Message-ID: <00cd01c4b0c4$a29b93c0$4c22fea9@winxp> From: "kinux" To: Date: Wed, 13 Oct 2004 09:33:25 +0800 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: openldap does not work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2004 01:33:28 -0000 Hi, i installed openldap on my FreeBSD box by Ports. #cd /usr/ports/net/openldap22-server #make install=20 then edit two lines in /usr/local/etc/openldap/slapd.conf=20 suffix "dc=3Dtest,dc=3Dexample,dc=3Dorg"=20 rootdn "cn=3DManager,dc=3Dtest,dc=3Dexample,dc=3Dorg"=20 #/usr/local/libexec/slapd=20 # sockstat -4 | grep 389=20 root slapd 187 9 tcp4 *:389 *:*=20 # netstat -a | grep ldap=20 tcp4 0 0 *.ldap *.* LISTEN=20 tcp6 0 0 *.ldap *.* LISTEN=20 while i try to test, it prompt me error..=20 # ldapsearch -x -b '' -s base '(objectclass=3D*)' namingContexts=20 ldap_bind: Can't contact LDAP server (-1)=20 # slaptest config file testing succeeded Segmentation fault (core dumped) What's the problem?