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
*
* // If you want to be lazier you can skip waiting for 'connect'. :)
* // It just means that a quick `.authenticate()` call will likely fail
* // while the LDAP connect and bind is still being done.
* auth.once('connect', function () {
* ...
* auth.authenticate(username, password, function (err, user) { ... });
* ...
* auth.close(function (err) { ... })
* });
*/
When I try to use
node-ldapauth
, I get the following error:My code seems like this:
I am sure that the credentials are valid.
I also tried
cn=sample
instead ofcn={{username}}
but the problem does not resolve.Any idea?
The text was updated successfully, but these errors were encountered: