From owner-freebsd-questions@FreeBSD.ORG Sat Mar 1 08:04:41 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5EC62A63 for ; Sat, 1 Mar 2014 08:04:41 +0000 (UTC) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 300771450 for ; Sat, 1 Mar 2014 08:04:41 +0000 (UTC) Received: by mail-ig0-f170.google.com with SMTP id h3so1099308igd.1 for ; Sat, 01 Mar 2014 00:04:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=a0EoO7+FkoR2Ge5GEty62FN7SrNfC0m43Hj6P+b3XfM=; b=mfbW4oV8pL+EH3jIcGHC8zT0CZK0ROj42Jyc4vYuljd0BQDtp9w9lpRHLARON033WN DcYgU7pCZQCAxLbC7Ko7BW6dUHGwWaOURDTYTKuL30LevCsEPjXznbBSpoCYHqObv+qO uYgjculfmJjAILTcQTTV0yeGX33CKyY9/p/8Mj9fQwWjUpIsE4ZIr6acgg0zep+V4yjD n0t3/7RDzjAIxJ1uD8ZQ6Ow6c/d6OC7oc499fnUqXpn8NANIUOXFEMoOlZQlqU3CF1Cz G/CWnkggZBmK6jsvB8WVT3ymjkXtCXxnSbWd2td78BmJovjnmitzR1iMo5xNwOAnWCcP dKLQ== MIME-Version: 1.0 X-Received: by 10.51.17.40 with SMTP id gb8mr9358163igd.18.1393661080682; Sat, 01 Mar 2014 00:04:40 -0800 (PST) Received: by 10.64.12.17 with HTTP; Sat, 1 Mar 2014 00:04:40 -0800 (PST) Date: Sat, 1 Mar 2014 00:04:40 -0800 Message-ID: Subject: heimdal and BDB troubles after upgrading to 10 From: Matt Mullins To: FreeBSD Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Mar 2014 08:04:41 -0000 It looks like I've managed to break my KDC by upgrading to 10 -- all I can seem to get the KDC to do is give me the following error: 2014-02-28T22:46:02 Failed to open database: dbopen (/var/heimdal/foo): Inappropriate file type or format I've tried building db5 (replacing db46 which is also still installed on my machine -- apparently deprecated in the meantime), and rebuilding heimdal against it, all to no avail. db_verify-5 reports that the database file is in good health. gdb tells me that for some reason, heimdal is trying to use the libc's dbopen() instead of db5's -- is there a way I can coerce heimdal into using the right library? My krb5.conf has: [kdc] database = { dbname = /var/heimdal/foo realm = LOCAL.MMLX.US mkey_file = /var/heimdal/foo.mkey log_file = /var/heimdal/bar acl_file = /var/heimdal/kadmind.acl } enable_kereberos4 = false enable_http = false