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

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

On Debian possible default full paths are:

/usr/bin/pdbedit - from package: samba

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