samba_test: 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/lib/plainbox-providers-1/checkbox/bin/samba_test - from package: plainbox-provider-checkbox

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