⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module client

Module client 

Source
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§

CredentialCache
TTL-based credential cache for avoiding repeated LDAP binds.
LdapAdClient
Active Directory LDAP client wrapper.
LdapClient
LDAP client for directory operations.
SearchEntry
A single search result entry

Enums§

LdapFilter
LDAP search filter (RFC 4511 Section 4.5.1)
LdapResultCode
LDAP result codes (RFC 4511 Section 4.1.9)
ModifyOperation
Modify operation type
SearchResult
Result from parsing a search response message.
SearchScope
LDAP search scope

Constants§

LDAPS_PORT
Default LDAPS port
LDAP_PORT
Default LDAP port