Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Mar 2014 14:13:04 -0500
From:      Michael Powell <nightrecon@hotmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: heimdal and BDB troubles after upgrading to 10
Message-ID:  <letbfq$8hk$1@ger.gmane.org>
References:  <CAPyT1SFP0Po-%2BDOnwamezmpsNw0tXkq4M9iULHCCFiCY1-Kv7A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Matt Mullins wrote:

> 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

Have you tried the WITH_BDB_VER=5 or WITH_BDB_VER=6 in make.conf as per 
UPDATING entry 20131216: before building?

-Mike






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?letbfq$8hk$1>