Does anyone know of any existing documentation, HOWTO, SE question, or even a blog post that shows an example Kerberos database migration from Heimdal to MIT KDCs? Has anyone done this operation themselves, and if so, did you discover any pitfalls, or did it just work?
H5l.org is down, so I'm digging around on wayback; I see the MIT to Heimdal migration docs that used to always be there -- re-reading them now, they imply that you should be able to go both ways, so there's hope: http://web.archive.org/web/20160610142834/http://www.h5l.org/manual/HEAD/info/heimdal/Migration.html#Migration
Here's what I have so far:
kadmin -l dump -f MIT
. But the build of Heimdal I'm dealing with doesn't support the MIT option, so I had to first dump the db in the default format:This almost works. That "load" command exits with a zero return code, but a
kdb5_util dump
saysNo such entry in the database while retrieving master entry
, with nothing on stdout. I'm sure I'm not starting the container(s) right, not getting their db initialized correctly, needing to do something with principals and/or keytabs. It's late, so I'm going to hit submit on this now and have another go at it next time I have a chance.