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 @@ -686,6 +686,7 @@ def delete(args)
686
686
end
687
687
688
688
def ldapwhoami
689
+ Net ::LDAP ::AsnSyntax [ 139 ] = :string
689
690
ext_seq = [ Net ::LDAP ::WhoamiOid . to_ber_contextspecific ( 0 ) ]
690
691
request = ext_seq . to_ber_appsequence ( Net ::LDAP ::PDU ::ExtendedRequest )
691
692
@@ -698,6 +699,7 @@ def ldapwhoami
698
699
raise Net ::LDAP ::ResponseMissingOrInvalidError , "response missing or invalid"
699
700
end
700
701
702
+ Net ::LDAP ::AsnSyntax [ 139 ] = nil
701
703
pdu
702
704
end
703
705
You can’t perform that action at this time.
0 commit comments