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

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

On Debian possible default full paths are:

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

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