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

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