samba-tool: 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/bin/samba-tool - from package: samba-common-bin

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