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
When you save it as my-client.rb and run it, it outputs success. Not what I expected.
ruby my-script
# => Deprecation warning: Net::LDAP::ConnectionRefused will be deprecated. Use Errno::ECONNREFUSED instead.# => Net::LDAP::ConnectionRefusedError# => Deprecation warning: Net::LDAP::ConnectionRefused will be deprecated. Use Errno::ECONNREFUSED instead.# => Connection refused - connect(2) for "127.0.0.1" port 12345# => #<OpenStruct code=0, message="Success"># => Success
I would have expected it to return ResultCodeUnavailable = 52.
The text was updated successfully, but these errors were encountered:
I used version 0.12.0. No LDAP-server running! So the bind fails.
Given that script:
When you save it as
my-client.rb
and run it, it outputssuccess
. Not what I expected.I would have expected it to return
ResultCodeUnavailable = 52
.The text was updated successfully, but these errors were encountered: