ldapid: 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/sbin/ldapid - from package: ldapscripts

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