We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c7b1af commit 2546e35Copy full SHA for 2546e35
lib/net/ldap/connection.rb
@@ -251,8 +251,8 @@ def bind(auth)
251
instrument "bind.net_ldap_connection" do |payload|
252
payload[:method] = meth = auth[:method]
253
require "net/ldap/auth_adapters/#{meth}"
254
- adapter = Net::LDAP::AuthAdapterp[meth]
255
- adapter.bind(auth)
+ adapter = Net::LDAP::AuthAdapter[meth]
+ adapter.new(self).bind(auth)
256
# if [:simple, :anonymous, :anon].include?(meth)
257
# bind_simple auth
258
# elsif meth == :sasl
0 commit comments