let ldap;
try {
ldap = new LdapAuth(config.ldap);
} catch (err) {
console.error(err);
return cb(err);
}
/// some time later...
ldap.close(function(err){
// sometimes this doesn't get called
});
from my testing, it appears that the ldap.close() call times out frequently, might there be a good reason for that? no idea why
I noticed problems with that too at least when an error is omitted. No idea why though, close just calls unbind to both the clients. Maybe look into ldapjs if you could identify something from there?
I have this code:
from my testing, it appears that the
ldap.close()
call times out frequently, might there be a good reason for that? no idea why