Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed authentication #2

Open
mbab opened this issue Mar 17, 2021 · 1 comment
Open

Failed authentication #2

mbab opened this issue Mar 17, 2021 · 1 comment

Comments

@mbab
Copy link

mbab commented Mar 17, 2021

When authentication fails

begin
  client.authenticate(user, pass)
rescue ex
  puts ex.message
end

got unhandled exception

bind failed with InvalidCredentials: Simple Bind Failed: NT_STATUS_LOGON_FAILURE
Unhandled exception in spawn: Channel is closed (Channel::ClosedError)
  from /usr/lib/crystal/channel.cr:228:9 in 'send'
  from /usr/lib/crystal/log/dispatch.cr:55:7 in 'dispatch'
  from /usr/lib/crystal/log/backend.cr:24:5 in 'dispatch'
  from /usr/lib/crystal/log/log.cr:36:3 in 'process!'
  from lib/ldap/src/ldap/client.cr:27:13 in '->'
  from /usr/lib/crystal/primitives.cr:255:3 in 'run'
  from /usr/lib/crystal/fiber.cr:92:34 in '->'
  from ???
mbab added a commit to mbab/crystal-ldap that referenced this issue Mar 17, 2021
mbab added a commit to mbab/crystal-ldap that referenced this issue Mar 17, 2021
@stakach
Copy link
Member

stakach commented Mar 17, 2021

That error is coming out of the logger.
I feel like it's an issue with your Log setup

@stakach stakach mentioned this issue Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants