ldap-add-host-to-netgroup: 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/bin/ldap-add-host-to-netgroup - from package: debian-edu-config

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