Socket
Socket
Sign inDemoInstall

ldapauth

Package Overview
Dependencies
31
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

2.3.1

Diff

Changelog

Source

2.3.1

  • [#29] Treat "UnwillingToPerformError" (LDAP error code 53) the same as "InvalidCredentialsError" as a failure that should stop connection retries. (By github.com/melloc).
trentm
published 2.3.0 •

Changelog

Source

2.3.0

  • [pull #19] Update deps for node 0.12 support (by https://github.com/ricardohbin).

  • Rewrite ldapjs connection handling. We now do retries. We now bind up front. The connect/bind check to verify a found user's password (in .authenticate()) creates a new connection each time. A significant usage change here is that one should wait for the 'connect' event from the LdapAuth instance before using it:

      var LdapAuth = require('ldapauth');
      var auth = new LdapAuth({url: 'ldaps://ldap.example.com:663', ...});
    
      // If you want to be lazier you can skip waiting for 'connect'. :)
      // It just means that a quick `.authenticate()` call will likely fail
      // while the LDAP connect and bind is still being done.
      auth.once('connect', function () {
          ...
          auth.authenticate(username, password, function (err, user) { ... });
          ...
          auth.close(function (err) { ... })
      });
    

    There is a lot new here, so caveat usor.

  • Drop log4js support in favour of Bunyan.

  • 4-space code indents. Should be no functional change.

trentm
published 2.2.4 •

Changelog

Source

2.2.4

  • [pull #12] Add tlsOptions, timeout and connectTimeout options in LdapAuth constructor (by github.com/vesse).
trentm
published 2.2.3 •

Changelog

Source

2.2.3

  • [pull #11] Update to latest ldapjs, v0.6.3 (by github.com/Esya).
trentm
published 2.2.2 •

Changelog

Source

2.2.2

  • [issue #5] update to bcrypt 0.7.5 (0.7.3 fixes potential mem issues)
trentm
published 2.2.1 •

Changelog

Source

2.2.1

  • Fix a bug where ldapauth authenticate() would raise an example on an empty username.
trentm
published 2.2.0 •

Changelog

Source

2.2.0

  • Update to latest ldapjs (0.5.6) and other deps. Note: This makes ldapauth only work with node >=0.8 (because of internal dep in ldapjs 0.5).
trentm
published 2.1.0 •

Changelog

Source

2.1.0

  • Update to ldapjs 0.4 (from 0.3). Crossing fingers that this doesn't cause breakage.
trentm
published 2.0.0 •

Changelog

Source

2.0.0

  • Add make check for checking jsstyle.
  • [issue #1] Update to bcrypt 0.5. This means increasing the base node from 0.4 to 0.6, hence the major version bump.
trentm
published 1.0.2 •

Changelog

Source

1.0.2

First working version.

2Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc