ldap2zone: 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 CentOS possible default full paths are:

/usr/sbin/ldap2zone - from package: bind-sdb

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/sbin/ldap2zone - from package: ldap2zone

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