ldap2netgroup: 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/ldap2netgroup - from package: debian-edu-config

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