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 63d7bbb commit 17e2fe6Copy full SHA for 17e2fe6
lib/net/ldap/auth_adapter/gss_spnego.rb
@@ -22,10 +22,12 @@ def bind(auth)
22
user, psw = [auth[:username] || auth[:dn], auth[:password]]
23
raise Net::LDAP::BindingInformationInvalidError, "Invalid binding information" unless (user && psw)
24
25
+ nego = proc do |challenge|
26
t2_msg = NTLM::Message.parse(challenge)
27
t3_msg = t2_msg.response({ :user => user, :password => psw },
28
{ :ntlmv2 => true })
29
t3_msg.serialize
30
+ end
31
32
Net::LDAP::AuthAdapter::Sasl.new(@connection).bind \
33
:method => :sasl,
0 commit comments