testldap.pl: 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/share/sympa/bin/testldap.pl - from package: sympa

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