Socket
Book a DemoInstallSign in
Socket

@jwalker1/ldapauthtest

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jwalker1/ldapauthtest

Determines authentications/second performance of LDAP server using asynchronous simple binds.

latest
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 21 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts