ldap-add-user-to-group: 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-user-to-group - from package: debian-edu-config

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