class
LDAP::Response
- LDAP::Response
- Reference
- Object
Defined in:
ldap/response.crConstructors
Instance Method Summary
- #control : BER | Nil
- #id : Int32
-
#paged_cookie : Bytes | Nil
The RFC 2696 paged-results cookie carried on a SearchResultDone, or nil if the response has no such control.
-
#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.
- #parse_entry : LDAP::Entry
- #parse_result
-
#referral : Array(String) | Nil
The referral [3] URIs of an LDAPResult (present when resultCode is referral), or nil when the field is absent.
-
#referral_uris : Array(String)
The URIs carried by a SearchResultReference (tag 19), whose payload is the SEQUENCE OF URI directly.
- #result_message(code : Int)
- #tag : LDAP::Tag
Constructor Detail
Instance Method Detail
The RFC 2696 paged-results cookie carried on a SearchResultDone, or nil if the response has no such control. An empty cookie signals the final page.
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.
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).
The URIs carried by a SearchResultReference (tag 19), whose payload is the SEQUENCE OF URI directly.