ldapurl: 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/bin/ldapurl - from package: openldap-clients

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

On Debian possible default full paths are:

/usr/bin/ldapurl - from package: ldap-utils

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