Skip to content

Commit 4ea3982

Browse files
committed
Fix misplaced constant
1 parent 4f81ede commit 4ea3982

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: lib/net/ldap/auth_adapter/sasl.rb

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ module Net
44
class LDAP
55
class AuthAdapter
66
class Sasl < Net::LDAP::AuthAdapter
7+
MaxSaslChallenges = 10
8+
79
#--
810
# Required parameters: :mechanism, :initial_credential and
911
# :challenge_response

Diff for: lib/net/ldap/connection.rb

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ class Net::LDAP::Connection #:nodoc:
77
DefaultConnectTimeout = 5
88

99
LdapVersion = 3
10-
MaxSaslChallenges = 10
1110

1211
# Initialize a connection to an LDAP server
1312
#

0 commit comments

Comments
 (0)