kgetcred: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/kgetcred - from package: heimdal-workstation

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/kgetcred - from package: heimdal-clients

You may install the required package with command apt-get install {package}
Error in other languages:
kgetcred: bevel nie gevind nie
kgetcred: comandă negăsită
kgetcred: comando não encontrado
kgetcred: commande introuvable
kgetcred: command not found
kgetcred: käsku ei ole
kgetcred: không tìm thấy lệnh
kgetcred: komanda nerasta
kgetcred: Kommando nicht gefunden.
kgetcred: kommandot finns inte
kgetcred: komut yok
kgetcred: nie znaleziono polecenia
kgetcred: níor aimsíodh an t-ordú
kgetcred: no se encontró la orden
kgetcred: no s'ha trobat l'ordre
kgetcred: opdracht niet gevonden
kgetcred: parancs nem található
kgetcred: perintah tidak ditemukan
kgetcred: príkaz nenájdený
kgetcred: příkaz nenalezen
kgetcred: команда не найдена
kgetcred: командата не е открита
kgetcred: 命令找不到
kgetcred: コマンドが見つかりません