Open lfcastilhos opened 1 year ago
No issues using ldapjs 2.3.3. looks like it's incompatible with ldapjs 3.0.0.;
Indeed, adding an override in package.json fixes the issue for now:
"overrides": {
"activedirectory": {
"ldapjs": "2.3.3"
}
}
Hi,, y added the override from adreeib, but still the `errror..!!
`{ "dependencies": { "activedirectory": "^0.7.2" }
,"overrides": {
"activedirectory": {
"ldapjs": "2.3.3"
}
} }`
it's work now,, i'm sorry still learning..
I'm having the same issue, except that mine is persistent even after applying the fixes suggested here and in #60. The code that generates the error is
ad.findUser(username, (err, user) => {
console.log('something');
if (err) {
console.log('ERROR: ' + JSON.stringify(err));
return;
}
if (user) {
console.log('User: ' + JSON.stringify(user));
} else {
console.log('User: ' + username + ' not found.');
}
});
And my updated package.json
...
"dependencies": {
"activedirectory": "^0.7.2",
"cors": "^2.8.5",
"express": "^4.18.2",
"moment": "^2.29.4",
"pg": "^8.11.3"
},
"overrides": {
"activedirectory": {
"ldapjs": "2.3.3"
}
}
I get the same exact error as previous comments. The node server is running in portainer and the container has been destroyed and recreated. I have also rebooted the physical server with no effect. Commenting out the affected line in activedirectory.js bypasses the fatal error, but is unable to find the user. Any suggestions? Thanks!
Hello @willcallender I have been getting the same issue in the last 2 weeks and I have not solution for this. I started change implementation to use ldapts library. If you want some help to change it I can help you ;)
Hola a todos:
La implementación de ldap en mi proyecto es muy básico... tuve el mismo problema y estuve a punto de desistir pero instale activedirectory2... Y con eso quedó resuelto...
Saludos
El vie., 27 oct 2023 3:55 a. m., João Penas @.***> escribió:
Hello @willcallender https://github.com/willcallender I have been getting the same issue in the last 2 weeks and I have not solution for this. I started change implementation to use ldapts library. If you want some help to change it I can help you ;)
— Reply to this email directly, view it on GitHub https://github.com/gheeres/node-activedirectory/issues/246#issuecomment-1782549566, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKFFZCE26AKS7G6VKZ4QVQTYBNZJPAVCNFSM6AAAAAAVGBEDRKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBSGU2DSNJWGY . You are receiving this because you commented.Message ID: @.***>
@OzukaruCid that worked immediately! Thank you!
Team, recompile my PCF code from 22/2/2023 and I got the error below. Nothing was changed in my code, except redeploy and package update. Also I see ldapjs was updated to version 3.0.0. Anyone having same issue?