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
Using passport-ldapauth module and getting this error when trying to login using a locked account. The trace below points to ldapjs client. Any ideas?
ConstraintViolationError: Exceed password retry limit. Account locked.
at messageCallback (C:\Users\jg63717\projects\raap\node_modules\passport-ldapauth\node_modules\ldapauth-fork\node_modules\ldapjs\lib\client\client.js:867:40)
at Parser.onMessage (C:\Users\jg63717\projects\raap\node_modules\passport-ldapauth\node_modules\ldapauth-fork\node_modules\ldapjs\lib\client\client.js:199:12)
at Parser.emit (events.js:95:17)
at Parser.write (C:\Users\jg63717\projects\raap\node_modules\passport-ldapauth\node_modules\ldapauth-fork\node_modules\ldapjs\lib\messages\parser.js:105:8)
at CleartextStream.onData (C:\Users\jg63717\projects\raap\node_modules\passport-ldapauth\node_modules\ldapauth-fork\node_modules\ldapjs\lib\client\client.js:155:24)
at CleartextStream.emit (events.js:95:17)
at CleartextStream. (stream_readable.js:764:14)
at CleartextStream.emit (events.js:92:17)
at emitReadable (_stream_readable.js:426:10)
at _stream_readable.js:419:7
The text was updated successfully, but these errors were encountered:
Could you try adding ConstraintViolationError to error handler in your passport-ldapauth installation so it would be handled like InvalidCredentialsError?
I would expect that the error is returned to passport-ldapauth, but since it currently does not treat that particular error as a login failure but execption (see here) it will raise an error.
Using passport-ldapauth module and getting this error when trying to login using a locked account. The trace below points to ldapjs client. Any ideas?
The text was updated successfully, but these errors were encountered: