From owner-freebsd-questions@FreeBSD.ORG Mon Sep 11 06:29:44 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 95CDB16A415 for ; Mon, 11 Sep 2006 06:29:44 +0000 (UTC) (envelope-from whatawonderfulworldweliveintoo@yahoo.com) Received: from web58401.mail.re3.yahoo.com (web58401.mail.re3.yahoo.com [68.142.236.169]) by mx1.FreeBSD.org (Postfix) with SMTP id 9760543D58 for ; Mon, 11 Sep 2006 06:29:42 +0000 (GMT) (envelope-from whatawonderfulworldweliveintoo@yahoo.com) Received: (qmail 29271 invoked by uid 60001); 11 Sep 2006 06:29:42 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=bm6WgsNNFSLMLj+WfsMBUFnPTgRUQarP5wfpwkyVg/yTKzj7zTxi+mw/HD0wKNfOPkH+v+h7nz0gd867NRvtPb1b612bvyluARxKnR/gn6g4vbCorARS4LbJeWX8D0sf4p50HP6AUpF9riQW2RdA9gTkXcPJuuUZ8efdw5YkhDc= ; Message-ID: <20060911062942.29269.qmail@web58401.mail.re3.yahoo.com> Received: from [66.82.9.64] by web58401.mail.re3.yahoo.com via HTTP; Sun, 10 Sep 2006 23:29:42 PDT Date: Sun, 10 Sep 2006 23:29:42 -0700 (PDT) From: Ted Johnson To: Atom Powers , freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Hell Installing OpenLDAP/Berkeley-DB/Java 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: Mon, 11 Sep 2006 06:29:44 -0000 I found a different file to build BerkeleyDB and built it successfully: /usr/ports/databases/p5-BerkeleyDB Then I rebuilt OpenLDAP from here: /usr/ports/net/openldap23-server Following the OpenLDAP tutorial, I edited slapd.conf and created an example.ldif file. Then I ran: ldapadd -x -D "cn=admin,dc=2012,dc=vi" -W -f example.ldif (all correct for my domain/configuration). I was asked to give my LDAP password. When I entered it (exactly as is in the slapd.conf file) I was told that was incorrect: ldap_bind: Invalid credentials (49) This makes me believe that Berkeley isn't properly installed. How can I test that? What steps do you take to properly install this duo? TIA, Ted2 Atom Powers wrote: On 9/8/06, Ted Johnson wrote: > Hi; > I tried to install OpenLDAP, but it needs Berkeley-DB and complained that the version installed was incompatible. I tried compiling it without Berkeley (using GNU instead) but it wouldn't. I tried installing Berkeley DB without Java (for simplicity's sake), but that didn't work. I tried moving that installation to where the ports would be but still no go. So I tried a make of the berkeley-db port but that complained it needed a Java plug-in that had to be loaded manually because of licensing restrictions. I don't know why BDB would want Java (check make.conf?). I've done several OpenLDAP/BDB installs recently and I never installed any kind of Java. -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers-- _______________________________________________ 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" --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.