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§

Client
ClientBuilder
Control
Dn
DomainScopeControl
ExtendedResponse
LdapUrl
ManageDsaItControl
MessageId
LDAP message IDs are positive i32 values. 0 is reserved for unsolicited notifications.
Modification
PagedResultsControl
Simple paged results control (RFC 2696).
PagedSearch
Incremental paged search that yields one page of results at a time.
PartialAttribute
Rdn
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 a wrapper for any Z: Zeroize type which implements a Drop handler which zeroizes dropped values.

Enums§

BindCredentials
Credentials for Client::bind.
DerefAliases
Error
Filter
LDAP search filter (RFC 4515).
ModifyOperation
ReferralPolicy
Controls how the server’s referral responses are handled.
ResultCode
SearchScope
Transport

Constants§

DOMAIN_SCOPE_OID
MANAGE_DSA_IT_OID
PAGED_RESULTS_OID
SERVER_SORT_OID
SERVER_SORT_REQUEST_OID
SERVER_SORT_RESPONSE_OID

Traits§

HasLdapResult

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.