@jwalker1/ldapauthtest

1.0.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @jwalker1/ldapauthtest

Weekly Downloads

1

Version

1.0.3

License

ISC

Unpacked Size

1.71 kB

Total Files

3

Last publish

Collaborators

  • jwalker1