4 Installing krb

Some critical questions of setting up a krb server can be asked when you install the corresponding packages. However, Debian turns off those questions by default. As a result, you have to reenable these questions before attempting to install krb. To do this, execute the following command as root:

dpkg-reconfigure debconf  
  

Then, make sure you select low for “priority”.

A krb server has two components. The first is krb5-kdc. This is the KDC (kerberos domain controller). It is the actual engine that maintains, retrieves and matches authentication data. The second component is krb5-admin-server, which is necessary to initialize and perform other administrative work on a KDC. Both are packages that you can install from a Debian repository.

As you install the packages, specify your own realm (read the following section first). Other than that, you can accept all the default settings. As for the KDC and administrative server, you can use the IP address of the machine running the servers. This means something like 192.168.2.50 or 10.0.2.20.

After you install these two packages, you need to edit some configuration files to get krb to work.