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

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