Skip to main content

Crate ldap_client

Crate ldap_client 

Source

Re-exports§

pub use tls_config::TlsConfig;
pub use tls_config::TlsVersion;
pub use tls_config::TrustAnchors;

Modules§

tls_config
Convenience types for building a rustls::ClientConfig without touching Rustls directly.

Structs§

AssertionValue
An attribute value assertion’s value. Values are octets, and text is the common case.
Client
ClientBuilder
Control
Dn
DomainScopeControl
ExtendedResponse
LdapUrl
ManageDsaItControl
MessageId
A message id is 0..=i32::MAX. A request takes an id from FIRST up; UNSOLICITED is the id of a server’s notification.
Modification
PagedResultsControl
Simple paged results control (RFC 2696).
PagedSearch
Incremental paged search that yields one page of results at a time.
PartialAttribute
Rdn
SearchParams
SearchResult
SearchResultEntry
SortKey
A single sort key for server-side sort (RFC 2891).
SortKeyList
Server-side sort request control value (RFC 2891).
SortResult
Server-side sort response control value (RFC 2891).
Zeroizing
Zeroizing is a wrapper for any Z: Zeroize type which implements a Drop handler which zeroizes dropped values.

Enums§

AttributeValue
An RDN value: text, or the BER encoding that RFC 4514 section 2.4 writes as # and hex digits.
BindCredentials
Credentials for Client::bind.
DerefAliases
Error
Filter
LDAP search filter (RFC 4515).
ModifyOperation
ReferralCredentials
What a connection opened to follow a referral binds as.
ReferralPolicy
Controls how the server’s referral responses are handled.
ResultCode
SearchScope
Transport

Constants§

DOMAIN_SCOPE_OID
MANAGE_DSA_IT_OID
NOTICE_OF_DISCONNECTION_OID
PAGED_RESULTS_OID
SERVER_SORT_OID
SERVER_SORT_REQUEST_OID
SERVER_SORT_RESPONSE_OID
STARTTLS_OID
WHO_AM_I_OID

Traits§

ControlType
HasLdapResult
RequestControl
A control the client sends. Criticality belongs to the Control that carries the value, not to the value.
ResponseControl

Functions§

escape_dn_value
Escape a DN value per RFC 4514 §2.4.
parse_range_option
Parse an AD range option from an attribute name.

Type Aliases§

SecretString
Secret string type.
UnsolicitedHandler
Handler for unsolicited notifications other than Notice of Disconnection.