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

Comparing version 2.3.0 to 2.3.1

14

CHANGES.md
# node-ldapauth Changelog
## not yet released
(nothing yet)
## 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).
## 2.3.0

@@ -15,3 +27,3 @@

var auth = new LdapAuth({url: 'ldaps://ldap.example.com:663', ...});
// If you want to be lazier you can skip waiting for 'connect'. :)

@@ -18,0 +30,0 @@ // It just means that a quick `.authenticate()` call will likely fail

3

lib/ldapauth.js

@@ -183,3 +183,4 @@ /**

if (err) {
if (err.name === 'InvalidCredentialsError') {
if (err.name === 'InvalidCredentialsError' ||
err.name === 'UnwillingToPerformError') {
log && log.trace({bindDn: dn, err: err},

@@ -186,0 +187,0 @@ 'invalid credentials; aborting retries');

{
"name": "ldapauth",
"version": "2.3.0",
"version": "2.3.1",
"main": "./lib/ldapauth.js",

@@ -5,0 +5,0 @@ "description": "Authenticate against an LDAP server",

Sorry, the diff of this file is not supported yet

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