class LDAP::Request
- LDAP::Request
- Reference
- Object
Defined in:
ldap/request.cr:4ldap/request.cr:8
Constant Summary
-
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 Method Summary
- #authenticate(username : String = "", password : String = "")
- #build(request : BER, controls : BER | Nil = nil, message_id = next_message_id)
- #encode_sort_controls(*sort_controls : String | SortControl)
- #next_message_id
-
#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
- #start_tls
Instance Method Detail
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