Closed pizzafroide closed 1 year ago
I made a PR to fix this issue: https://github.com/shaozi/ldap-authentication/pull/57
not sure howe this works but the latest version on npm does not contain this fix?
https://www.npmjs.com/package/ldap-authentication/v/3.0.3?activeTab=code
Since ldapjs 3.0.0, message objects no longer have a
.object
accessor. It is replaced by.pojo
.But ldap-authentication still uses the old accessor here and the
groups
property in the resulting object is therefore an array ofundefined
...