From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Nov 21 00:40:16 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 391111065675 for ; Mon, 21 Nov 2011 00:40:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 208548FC15 for ; Mon, 21 Nov 2011 00:40:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id pAL0eFeV037991 for ; Mon, 21 Nov 2011 00:40:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id pAL0eF57037990; Mon, 21 Nov 2011 00:40:15 GMT (envelope-from gnats) Date: Mon, 21 Nov 2011 00:40:15 GMT Message-Id: <201111210040.pAL0eF57037990@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Matt Mullins Cc: Subject: Re: ports/154711: security/heimdal: kadmin: hdb_open: hdb_open failed initialize database /var/heimdal/heimdal X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matt Mullins List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2011 00:40:16 -0000 The following reply was made to PR ports/154711; it has been noted by GNATS. From: Matt Mullins 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