File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -306,7 +306,6 @@ class Net::LDAP
306
306
3 => :string , # SearchFilter-extensible
307
307
4 => :string , # SearchFilter-extensible
308
308
7 => :string , # serverSaslCreds
309
- 11 => :string , # responseValue
310
309
}
311
310
constructed = {
312
311
0 => :array , # RFC-2251 Control and Filter-AND
Original file line number Diff line number Diff line change @@ -694,6 +694,7 @@ def delete(args)
694
694
end
695
695
696
696
def ldapwhoami
697
+ Net ::LDAP ::AsnSyntax [ 139 ] = :string
697
698
ext_seq = [ Net ::LDAP ::WhoamiOid . to_ber_contextspecific ( 0 ) ]
698
699
request = ext_seq . to_ber_appsequence ( Net ::LDAP ::PDU ::ExtendedRequest )
699
700
@@ -706,6 +707,7 @@ def ldapwhoami
706
707
raise Net ::LDAP ::ResponseMissingOrInvalidError , "response missing or invalid"
707
708
end
708
709
710
+ Net ::LDAP ::AsnSyntax [ 139 ] = nil
709
711
pdu
710
712
end
711
713
You can’t perform that action at this time.
0 commit comments