class

LDAP::Request

Inherits Reference < Object

Constants

DELETE_TREE = "1.2.840.113556.1.4.805"
PAGED_RESULTS = "1.2.840.113556.1.4.319"
SORT_REQUEST = "1.2.840.113556.1.4.473"
SORT_RESPONSE = "1.2.840.113556.1.4.474"
START_TLS_OID = "1.3.6.1.4.1.1466.20037"

Instance methods

authenticate(username : String = "", password : String = "")
Source
build(request : BER, controls : BER | Nil = nil, message_id = next_message_id)
Source
encode_sort_controls(*sort_controls : String | SortControl)
Source
next_message_id
Source
search(base : String, filter : Filter | String = Filter.equal("objectClass", "*"), scope : SearchScope = SearchScope::WholeSubtree, attributes : Enumerable(String) | Enumerable(Symbol) = [] of String, attributes_only : Bool = false, return_referrals : Bool = true, dereference : DereferenceAliases = DereferenceAliases::Always, size : Int = 0, time : Int = 0, paged_searches_supported : Bool = false, sort : String | SortControl | BER | Nil = nil)

base: https://tools.ietf.org/html/rfc4511#section-4.5.1.1 filter: https://tools.ietf.org/html/rfc4511#section-4.5.1.7 scope: https://tools.ietf.org/html/rfc4511#section-4.5.1.2 attrs: https://tools.ietf.org/html/rfc4511#section-4.5.1.8 attrs_only: https://tools.ietf.org/html/rfc4511#section-4.5.1.6 referrals: https://tools.ietf.org/html/rfc4511#section-4.5.3 deref: https://tools.ietf.org/html/rfc4511#section-4.5.1.3 size: https://tools.ietf.org/html/rfc4511#section-4.5.1.4 time: https://tools.ietf.org/html/rfc4511#section-4.5.1.5

Source
start_tls
Source

Nested types