ldapdeletegroup: 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/ldapdeletegroup - from package: ldapscripts

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