Problem
I am trying to to initialise the Kerberos Database with information from a new realm but the init command fails with:
kadmin: hdb_open: opening /var/heimdal/heimdal: No such file or directory
Solution
This problem has been reported to SCO Engineering and will be fixed in a future Maintenance Release.
You can workaround the problem by creating an empty file /var/heimdal/heimdal before using the kadmin init command as follows:
umask 077
touch /var/heimdal/heimdal