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

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