You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
Hi there,
I'm trying to use a single connection to make multiple requests ti my LDAP connection and everything works fine when I call userExists or findUser, however the thing is different when I call the getGroupMembershipForUser function because it crashes my server with the current error when the connection is lost or it's reseted.
~/node_modules/async/dist/async.js:326
if (fn === null) throw new Error("Callback was already called.");
^
Error: Callback was already called.
at /node_modules/async/dist/async.js:326:36
at GroupMembersForDN.callback (/node_modules/activedirectory2/lib/components/getGroupMembershipForDN.js:55:7)
at GroupMembersForDN.asyncCallback (/node_modules/activedirectory2/lib/components/getGroupMembershipForDN.js:78:8)
at wrapper (/node_modules/async/dist/async.js:273:20)
at eachOfArrayLike (/node_modules/async/dist/async.js:492:13)
at eachOf (/node_modules/async/dist/async.js:628:16)
at awaitable (/node_modules/async/dist/async.js:212:32)
at Object.eachLimit$2 (/node_modules/async/dist/async.js:2693:16)
at Object.awaitable (/node_modules/async/dist/async.js:212:32)
at Searcher.callback (/node_modules/activedirectory2/lib/components/getGroupMembershipForDN.js:118:11)
I have tried different strategies to avoid this error even configurations, however I haven't been able to get rid of.
Hi there,
I'm trying to use a single connection to make multiple requests ti my LDAP connection and everything works fine when I call userExists or findUser, however the thing is different when I call the getGroupMembershipForUser function because it crashes my server with the current error when the connection is lost or it's reseted.
~/node_modules/async/dist/async.js:326
if (fn === null) throw new Error("Callback was already called.");
^
Error: Callback was already called.
at
/node_modules/async/dist/async.js:326:36/node_modules/activedirectory2/lib/components/getGroupMembershipForDN.js:55:7)at GroupMembersForDN.callback (
at GroupMembersForDN.asyncCallback (
/node_modules/activedirectory2/lib/components/getGroupMembershipForDN.js:78:8)/node_modules/async/dist/async.js:273:20)at wrapper (
at eachOfArrayLike (
/node_modules/async/dist/async.js:492:13)/node_modules/async/dist/async.js:628:16)at eachOf (
at awaitable (
/node_modules/async/dist/async.js:212:32)/node_modules/async/dist/async.js:2693:16)at Object.eachLimit$2 (
at Object.awaitable (
/node_modules/async/dist/async.js:212:32)/node_modules/activedirectory2/lib/components/getGroupMembershipForDN.js:118:11)at Searcher.callback (
I have tried different strategies to avoid this error even configurations, however I haven't been able to get rid of.