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

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

On Debian possible default full paths are:

/usr/sbin/slapadd - from package: slapd

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