nslcd: 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/nslcd - from package: nss-pam-ldapd

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

On Debian possible default full paths are:

/usr/sbin/nslcd - from package: nslcd

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