class

LDAP::Response

Inherits Reference / Object

Constructors

from_response(packet : BER) : Response
Source
new(message_id, payload, control : Nil | ASN1::BER = nil)
Source

Instance methods

control
Source
parse_bind_response

A BindResponse is an LDAPResult plus two OPTIONAL trailing fields โ€” referral [3] and serverSaslCreds [7] (RFC 4511 ยง4.2.2) โ€” so the 4th element is not always the credentials: dispatch by context tag, never by position.

Source
parse_entry
Source
parse_result
Source
referral

The referral [3] URIs of an LDAPResult (present when resultCode is referral), or nil when the field is absent. Only meaningful on a search/modify/compare result โ€” for those, the optional 4th payload element is the referral field (a bind response's optional 4th element is serverSaslCreds, read separately).

Source
referral_uris

The URIs carried by a SearchResultReference (tag 19), whose payload is the SEQUENCE OF URI directly.

Source
result_message(code : Int)
Source

Nested types