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

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

On Debian possible default full paths are:

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

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