class LDAP::Client::ReferralError

Overview

Raised when the server returns a referral (result code) or continuation references (SearchResultReference) — the requested data lives, wholly or partly, on another server. referrals holds the LDAP URLs; entries holds whatever a search found locally before the referral. The client surfaces referrals but does not follow them.

Defined in:

ldap/client.cr

Constructors

Instance Method Summary

Instance methods inherited from class LDAP::Client::OperationError

error_message : String error_message, matched_dn : String matched_dn, result_code : Response::Code result_code

Constructor methods inherited from class LDAP::Client::OperationError

new(operation : String, result_code : Response::Code, matched_dn : String, error_message : String) new

Constructor Detail

def self.new(result_code : Response::Code, matched_dn : String, error_message : String, referrals : Array(String), entries : Array(Entry) = [] of Entry) #

[View source]

Instance Method Detail

def entries : Array(Entry) #

[View source]
def referrals : Array(String) #

[View source]