Date: Mon, 21 Nov 2011 00:40:15 GMT From: Matt Mullins <mokomull@gmail.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/154711: security/heimdal: kadmin: hdb_open: hdb_open failed initialize database /var/heimdal/heimdal Message-ID: <201111210040.pAL0eF57037990@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/154711; it has been noted by GNATS. From: Matt Mullins <mokomull@gmail.com> To: bug-followup@FreeBSD.org, jcw@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111210040.pAL0eF57037990>