To install, run the following commands:
mkdir ldapauthtest && cd $_
npm i @jwalker1/ldapauthtest
cd node_modules/@jwalker1/ldapauthtest/
Edit 'index.js' line 8 to match the IP or hostname of your LDAP server.
Edit line 22 to your bind user and password.
Line 29 determines how many LDAP clients will be spawned (10,000 by default).
To run, use the time command in conjunction with node:
time node index.js
Calculate the number of authentications/second by dividing the number of clients by the value of 'real'. For example, if I had 10,000 clients and it took 30 seconds, the result of 10000/30 = 300 authentications/second.