slapcat: 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/slapcat - from package: openldap-servers

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

On Debian possible default full paths are:

/usr/sbin/slapcat - from package: slapd

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