From owner-freebsd-questions@FreeBSD.ORG Thu Mar 12 10:53:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44B7B106564A for ; Thu, 12 Mar 2009 10:53:34 +0000 (UTC) (envelope-from fam.vanderschaft@kpnplanet.nl) Received: from CPSMTPM-EML104.kpnxchange.com (cpsmtpm-eml104.kpnxchange.com [195.121.3.8]) by mx1.freebsd.org (Postfix) with ESMTP id CAF6E8FC13 for ; Thu, 12 Mar 2009 10:53:33 +0000 (UTC) (envelope-from fam.vanderschaft@kpnplanet.nl) Received: from dionysus ([86.94.74.244]) by CPSMTPM-EML104.kpnxchange.com with Microsoft SMTPSVC(7.0.6001.18000); Thu, 12 Mar 2009 11:53:32 +0100 Message-ID: <069401c9a301$566f0160$0302a8c0@dionysus> From: "Familie van der Schaft" To: "Hong" , "FreeBSD Questions List" References: <20090311041526.GA1154@SDF.LONESTAR.ORG> Date: Thu, 12 Mar 2009 11:57:29 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1933 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1933 X-OriginalArrivalTime: 12 Mar 2009 10:53:32.0212 (UTC) FILETIME=[C8DE7740:01C9A300] Cc: Subject: Re: Ldapadd Crashed with Segmentation Fault X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2009 10:53:34 -0000 I had the same problem (also slapcat ended with seg fault 11). And the siolution was to minimize the config options (i did not need all of them). I only build OpenLDAP with the SASL,BDB and PERL options and worked for me.... Reg,Danny ----- Original Message ----- From: "Hong" To: "FreeBSD Questions List" Sent: Wednesday, March 11, 2009 5:15 AM Subject: Ldapadd Crashed with Segmentation Fault > Hi, > > I was playing with OpenLDAP installed on FreeBSD 7.1-RELEASE installed through > the port system. > > The configuration file /usr/local/etc/slapd.conf was edited: > ... > database bdb > #suffix "dc=my-domain,dc=com" > #rootdn "cn=Manager,dc=my-domain,dc=com" > suffix "dc=example,dc=com" > rootdn "cn=Manager,dc=example,dc=com" > ... > > I created a test LDIF file named test1.ldif: > > dn: dc=example,dc=com > objectclass: dcObject > objectclass: organization > o: Example Company > dc: example > > dn: cn=Manager,dc=example,dc=com > objectClass: organizationalRole > cn: Manager > > Then I used ldapadd to add the new entries in the LDIF file: > > # ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -f test1.ldif > Enter LDAP Password: > adding new entry "dc=example,dc=com" > > adding new entry "cn=Manager,dc=example,dc=com" > > Segmentation fault: 11 (core dumped) > > Any idea what went wrong? > > Hong > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" ---------------------------------------------------------------------------- ---- No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.11.9/1992 - Release Date: 03/09/09 19:20:00