Install libpam-heimdal by entering the following commands in the terminal:
sudo apt update sudo apt install libpam-heimdal
Description:
PAM module for Heimdal Kerberos
A Kerberos PAM module build against the Heimdal libraries. It supports authenticating against a Kerberos KDC, obtaining tickets and populating an initial ticket cache, authorizing users via a ~/.k5login file, and changing Kerberos passwords.
Homepage: https://www.eyrie.org/~eagle/software/pam-krb5/
Version: 4.8-1
Section: universe/admin