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
Could you provide correct connection through npm "activedirectory"? You wrote that it is compatible with this library.
I try different domains and credentials but always has an error "Incorrect DN given : ___ is invalid"
let ad = new ActiveDirectory({ url: 'ldap://127.0.0.1:10389', baseDN: 'DC=wimpi,DC=net' }); ad.authenticate('test', 'secret', (err, auth) => { if (err) { console.log('ERROR: ' + JSON.stringify(err)); } if (auth) { console.log(true); } else { console.log(false); } });
The text was updated successfully, but these errors were encountered:
Could you provide correct connection through npm "activedirectory"? You wrote that it is compatible with this library.
I try different domains and credentials but always has an error "Incorrect DN given : ___ is invalid"
let ad = new ActiveDirectory({ url: 'ldap://127.0.0.1:10389', baseDN: 'DC=wimpi,DC=net' });
ad.authenticate('test', 'secret', (err, auth) => { if (err) { console.log('ERROR: ' + JSON.stringify(err)); } if (auth) { console.log(true); } else { console.log(false); } });
The text was updated successfully, but these errors were encountered: