-
Notifications
You must be signed in to change notification settings - Fork 205
Migration
le photograveur edited this page Jun 10, 2023
·
3 revisions
hpropd can read from a MIT Kerberos dump, the format is the same as used in mit-kerberos 1.0b7.
To dump in this format use the following command:
kdb5_util dump -b7To load the MIT Kerberos dump file, use the following command:
/usr/heimdal/libexec/hprop \
--database=dump-file \
--master-key=/var/db/krb5kdc/mit_stash \
--source=mit-dump \
--decrypt --stdout | \
/usr/heimdal/libexec/hpropd --stdin
Process Order for the migration:
- Convert the database, check all principals that hprop complains about.
Replace
hprop -n --source=<NNN> | hpropd -n
<NNN>with whatever source you have suchaskrb4-dborkrb4-dump. - Run a Kerberos 5 slave for a while.
- Figure out if it does everything you want it to. Make sure that all things that you use work for you.
- Let a small number of controlled users use Kerberos 5 tools.
Find a sample population of your users and check what programs they use, you can also check the
kdc-logto check what and which kinds of tickets are checked out. - Burn the bridge and change the master.
- Let all users use the Kerberos 5 tools by default.
- Turn off services that do not need Kerberos 4 authentication.
Things that may be hard to get away with are old programs with support for Kerberos 4. For example old Eudora installations using KPOP, and Zephyr. Eudora can use the Kerberos 4 kerberos in the Heimdal KDC.
Please see also Kerberos 4 issues.