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

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