ports/154711: security/heimdal: kadmin: hdb_open: hdb_open failed initialize database /var/heimdal/heimdal
Matt Mullins
mokomull at gmail.com
Mon Nov 21 00:40:16 UTC 2011
The following reply was made to PR ports/154711; it has been noted by GNATS.
From: Matt Mullins <mokomull at gmail.com>
To: bug-followup at FreeBSD.org, jcw at speakeasy.net
Cc:
Subject: Re: ports/154711: security/heimdal: kadmin: hdb_open: hdb_open failed
initialize database /var/heimdal/heimdal
Date: Sun, 20 Nov 2011 16:14:51 -0800
I ran into similar issues a couple weeks back. It came down to a
couple problems:
1) the default configuration for security/heimdal doesn't have any
backends turned on. I ran "make config" and enabled BDB and then I
was able to use /usr/local/libexec/hpropd to initialize the database
and migrate from another running system. Perhaps this should be on by
default.
2) security/heimdal builds using a newer version of BDB than the
minimal heimdal included in the base system. Be sure to use
/usr/local/sbin/kadmin instead of /usr/bin/kadmin. The latter cannot
read the database written by the daemons installed with
security/heimdal.
Along that last point, make sure you set the binary paths in /etc/rc.conf:
kerberos5_server="/usr/local/libexec/kdc"
kadmind5_server="/usr/local/libexec/kadmind"
kpasswdd_server="/usr/local/libexec/kpasswdd"
--
Matt Mullins
More information about the freebsd-ports-bugs
mailing list