samba_kcc: 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 Debian possible default full paths are:

/usr/sbin/samba_kcc - from package: samba-common-bin

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