samba: 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 - from package: samba

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