Configure Ubuntu 16.04 Client for Kerberos

This is really easy! In earlier guides I showed how to install and configure LDAP and Kerberos in Apache Directory Studio.

First install the necessary software

sudo apt-get install krb5-user libpam-krb5
  • Set the Realm: YOURREALM
  • Enter the hostname of your Kerberos server or KDC
  • Enter the same for Administrative server

That’s it! For a quick test, issue the following command in a terminal window

kinit yourtestuser

and you should be prompted to enter a password


to check you have a ticket

The acquisition of a tickets at log on should be automatically configured.