ldapauth
Advanced tools
Comparing version 2.3.0 to 2.3.1
# 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 |
@@ -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
422
46385
10