node-activedirectory icon indicating copy to clipboard operation
node-activedirectory copied to clipboard

timeout does not work

Open dorongrinstein opened this issue 9 years ago • 3 comments

I set timeout and idleTimeout to 3000 (milliseconds) (based on the ldapjs documentation, indicating the value is in milliseconds) and shut down the Active Directory instance. When I call getGroupMembershipForUser with a first parameter of options, containing:

let options = { timeout: 3000, idleTimeout: 3000 };

The method hangs forever. It does not seem to be respecting the passed in options.

dorongrinstein avatar Aug 12 '16 16:08 dorongrinstein

same here +1

onhate avatar Sep 13 '17 00:09 onhate

Also, param 'connectTimeout' (which available for ldap) not passed to ldap options https://github.com/gheeres/node-activedirectory/blob/master/lib/activedirectory.js#L330

DaryaDarya avatar Aug 24 '18 13:08 DaryaDarya

Any action on this or plan to fix the issue. to be merged on current release?

ghost avatar Aug 07 '19 07:08 ghost