From owner-freebsd-questions@FreeBSD.ORG Sat Apr 19 14:17:53 2003 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 0B35E37B401 for ; Sat, 19 Apr 2003 14:17:53 -0700 (PDT) Received: from blueriver.net (moseisley.blueriver.net [12.166.16.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E13143FDD for ; Sat, 19 Apr 2003 14:17:52 -0700 (PDT) (envelope-from jeremy@gaddis.org) Received: from gaddis.org (tnt-12-166-19-76.orl.blueriver.net [12.166.19.76]) by blueriver.net (8.12.5/8.12.5) with SMTP id h3JLP2AV019044 for ; Sat, 19 Apr 2003 16:25:02 -0500 Received: (qmail 6113 invoked from network); 19 Apr 2003 21:17:52 -0000 Received: from jupiter.main.gaddis.org (HELO jupiter) (192.168.0.4) by gaddis.org with SMTP; 19 Apr 2003 21:17:52 -0000 From: "Jeremy Gaddis" To: Date: Sat, 19 Apr 2003 16:17:49 -0500 Message-ID: <000701c306b9$212783a0$0400a8c0@main.gaddis.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: OpenLDAP rootdn/rootpw 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: Sat, 19 Apr 2003 21:17:53 -0000 I recently migrated a server to FreeBSD. The server previously ran OpenLDAP on Linux, and I have installed OpenLDAP from the ports collection. Before the migration, I backed up the OpenLDAP data files on the Linux box, and restored the files into /var/db/openldap-ldbm/ on the FreeBSD box. I use LDAP Explorer (web-based LDAP client) running on a (physically separate) web server to connect to it. I can connect to it from LDAP Explorer and browse it just fine, but if I try to modify any attributes, I am informed that my rootdn and/or rootpw are incorrect. I expected everything to remain the same since I restored the files from backups, and explicitly set the rootdn and rootpw variables in the slapd.conf file. Is there a way to reset the rootdn and/or rootpw using some command-line tools? Thanks, j. -- Jeremy L. Gaddis