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 d6e6a97 commit 2835ecdCopy full SHA for 2835ecd
lib/net/ldap/pdu.rb
@@ -87,6 +87,7 @@ def initialize ber_object
87
# So it makes more sense just to grab the bottom five bits.
88
#@app_tag = ber_object[1].ber_identifier - 0x60
89
@app_tag = ber_object[1].ber_identifier & 31
90
+ @ldap_controls = []
91
rescue
92
# any error becomes a data-format error
93
raise LdapPduError.new( "ldap-pdu format error" )
@@ -144,7 +145,7 @@ def result_code code = :resultCode
144
145
# Return RFC-2251 Controls if any.
146
# Messy. Does this functionality belong somewhere else?
147
def result_controls
- @ldap_controls || []
148
+ @ldap_controls
149
end
150
151
# Return serverSaslCreds, which are only present in BindResponse packets.
0 commit comments