Date: Sat, 1 Mar 2014 00:04:40 -0800 From: Matt Mullins <mokomull@gmail.com> To: FreeBSD <freebsd-questions@freebsd.org> Subject: heimdal and BDB troubles after upgrading to 10 Message-ID: <CAPyT1SFP0Po-%2BDOnwamezmpsNw0tXkq4M9iULHCCFiCY1-Kv7A@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyT1SFP0Po-%2BDOnwamezmpsNw0tXkq4M9iULHCCFiCY1-Kv7A>
