Closed FranckFreiburger closed 5 years ago
The callback is passed to Client.prototype._send
and from there to Client.prototype._sendSocket
. Then it becomes little unclear to follow without getting deeper into the implementation, but if you eg. add logging to close callback in passport-ldapauth
and run the tests you'll see the callback is called.
Thank you for the clarification
https://github.com/vesse/node-ldapauth-fork/blob/f4f9f30c7e5986cd647f03384ca7e9b1f7fbee15/lib/ldapauth.js#L155-L157
AFAICS, it seems that you are waiting for a callback that will never be called ? See: https://github.com/joyent/node-ldapjs/blob/master/lib/client/client.js#L844-L847