ldaptor-getfreenumber: 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/ldaptor-getfreenumber - from package: ldaptor-utils

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