To convert your KDCs from Kerberos V4 to Kerberos V5, do the following:
kadmind
(V4) daemon process on the master KDC and kill
it. This will prevent changes to the Kerberos database while you
convert the database to the new Kerberos V5 format.
% kdb_util dump /usr/local/var/krb5kdc/v4-dump
% kdb5_util load_v4 v4-dump
% kdb5_util stash
krb5kdc
and kadmind
daemons,
first find and kill the Kerberos V4 kerberos
daemon on each of
the KDCs. Then start the krb5kdc
and kadmind
daemons as
You will need to specify an argument to the -4
command line option to enable Kerberos 4 compatibility.
See the krb5kdc
man page for details.
directed. Finally, start the Kerberos V5 to V4 ticket translator
daemon, krb524d
, by issuing the command:
% /usr/local/sbin/krb524d -m > /dev/null &
If you have a stash file and you start the krb5kdc
and
kadmind
daemons at boot time, you should add the above line to
your /etc/rc
(or /etc/rc.local
) file on each KDC.