Expand description
LDAP v3 Client (RFC 4511)
Implements the Lightweight Directory Access Protocol version 3, encoding
all messages as ASN.1/BER via crate::net::asn1. Supports simple bind,
search with filters, compare, modify, add, delete, and unbind operations.
§Active Directory Integration
LdapAdClient wraps LdapClient with AD-specific helpers for user
lookup, group membership extraction, and bind-based authentication.
§Credential Caching
CredentialCache provides TTL-based caching of bind credentials to avoid
repeated LDAP binds for recently authenticated users.
Structs§
- Credential
Cache - TTL-based credential cache for avoiding repeated LDAP binds.
- Ldap
AdClient - Active Directory LDAP client wrapper.
- Ldap
Client - LDAP client for directory operations.
- Search
Entry - A single search result entry
Enums§
- Ldap
Filter - LDAP search filter (RFC 4511 Section 4.5.1)
- Ldap
Result Code - LDAP result codes (RFC 4511 Section 4.1.9)
- Modify
Operation - Modify operation type
- Search
Result - Result from parsing a search response message.
- Search
Scope - LDAP search scope
Constants§
- LDAPS_
PORT - Default LDAPS port
- LDAP_
PORT - Default LDAP port