smbcontrol: 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/smbcontrol - from package: samba4-common
/usr/bin/smbcontrol - from package: samba-common

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

On Debian possible default full paths are:

/usr/bin/smbcontrol - from package: samba

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