Hello, This is my first bug report here. Please, be gentle. I am trying to run security/heimdal (Master/Slave) in jail but it fail to initialize the database with error: kadmin: hdb_open: hdb_open: failed initialize database /var/heimdal/heimdal Thought, the database is there but it have .db at the end: /var/heimdal/heimdal.db I found the bug #154711 what looks exactly thee same problem. ***** [libdefaults] default_realm = MYDOMAIN.CH [realms] MYDOMAIN.CH = { kdc = krb1.mydomain.ch kdc = krb2.mydomain.ch admin_server = krb1.mydomain.ch } [domain_realm] .mydomain.ch = MYDOMAIN.CH ***** ***** (...) hostname="krb1.mydomain.ch" kdc_enable="YES" kadmind_enable="YES" kdc_program="/usr/local/libexec/kdc" kadmind5_server="/usr/local/libexec/kadmind" kpasswdd_server="/usr/local/libexec/kpasswdd" (...) ***** ***** Options: _OPTIONS_READ=heimdal-1.5.3_5 _FILE_COMPLETE_OPTIONS_LIST=BDB CRACKLIB DIGEST IPV6 KX509 LDAP PKINIT SQLITE X11 OPTIONS_FILE_SET+=BDB OPTIONS_FILE_UNSET+=CRACKLIB OPTIONS_FILE_SET+=DIGEST OPTIONS_FILE_UNSET+=IPV6 OPTIONS_FILE_SET+=KX509 OPTIONS_FILE_SET+=LDAP OPTIONS_FILE_SET+=PKINIT OPTIONS_FILE_UNSET+=SQLITE OPTIONS_FILE_UNSET+=X11 ***** FreeBSD 11.0-RELEASE-p1 #0 r308097: Wed Nov 2 16:36:29 BRST 2016 Thank you!
A commit references this bug: Author: hrs Date: Sat Nov 5 16:57:02 UTC 2016 New revision: 425399 URL: https://svnweb.freebsd.org/changeset/ports/425399 Log: ix Berkeley DB detection at the configuration stage. PR: 214182 Changes: head/UPDATING head/security/heimdal/Makefile
Thank you for your report. This problem was due to wrong compilation options in the package and has been fixed in the latest version. Please update your ports tree and rebuilt security/heimdal, or upgrade the installed package to heimdal-1.5.3_6 or later by using pkg(8) command. Note that it may take some time until the updated binary package becomes available in pkg(8) command.
I will update ASAP, I am using it from Ports. Thank you.