ActiveDirectory is an Node.js ldapjs client for authN (authentication) and authZ (authorization) for Microsoft Active Directory with range retrieval support for large Active Directory installations.
today I encountered an interesting problem. When using getGroupMembershipForUser it can occur that for some users the call results into the error "ECONNREFUSED".
It seems to depend on the amount of groups a user has. I could track it down to ldap search function, where some of the group searches result in this error. Does anybody have an idea why this happens. For a quick fix i wraped my code in a retry loop:
Hi,
today I encountered an interesting problem. When using getGroupMembershipForUser it can occur that for some users the call results into the error "ECONNREFUSED". It seems to depend on the amount of groups a user has. I could track it down to ldap search function, where some of the group searches result in this error. Does anybody have an idea why this happens. For a quick fix i wraped my code in a retry loop:
Here my original code