How to install Kerberos KDC Server and Client on Ubuntu 18.04 - LinuxConfig.org

This tutorial covers gradual guide to setup a Kerberos Server (KDC) and Kerberos Enabled Client, then testing the setup by obtaining a Kerberos Ticket from the KDC server.
This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-install-kerberos-kdc-server-and-client-on-ubuntu-18-04

Hi.

First. Thank you for this concise but complete mini tutorial.

(FYI: I had no kerberos installs on my fairly fresh install of ubuntu, this tutorial is my first “dip” :slight_smile: )

Second, when I try to run:

sudo apt install krb5-user

I get this

krb5-user is already the newest version

Which is an obvious issue.

However, I do not know how to (re) configure the client side to point to three things mentioned in the article:

Again it will ask 3 thing one by one like KDC Server setup.
Kerberos Realm – UBUNTUBOX dot COM
Hostname for the KDC Server – kdc dot ubuntubox dot com
Hostname of Admin server – kdc dot ubuntubox dot com

I cannot find a krb5-user “reconfigure” command.

Thank you.

For other readers, I had to use this command to list principals.

sudo kadmin.local -q “list_principals”