class LDAP::Response

Defined in:

ldap/response.cr

Constant Summary

SEARCH_SUCCESS = {Code::Success, Code::TimeLimitExceeded, Code::SizeLimitExceeded}
SUCCESS_CODES = {Code::Success, Code::CompareFalse, Code::CompareTrue, Code::Referral, Code::SaslBindInProgress}

Constructors

Instance Method Summary

Constructor Detail

def self.from_response(packet : BER) : Response #

[View source]
def self.new(message_id, payload, control : Nil | ASN1::BER = nil) #

[View source]

Instance Method Detail

def control : BER | Nil #

[View source]
def id : Int32 #

[View source]
def parse_bind_response #

A Bind Response may have an additional field, ID [7], serverSaslCreds, per RFC 2251 pgh 4.2.3.


[View source]
def parse_result #

[View source]
def parse_search_data #

[View source]
def payload : Array(BER) #

[View source]
def result_message(code : Int) #

[View source]
def tag : LDAP::Tag #

[View source]