Class LdapConnectionSettings
Shared LDAP connection settings. Base class for both
and .
public class LdapConnectionSettings
Inheritance
Derived
Properties
BindDn
Bind DN for service-account search. Required for search+bind flow.
public string? BindDn { get; set; }
ConnectTimeoutSeconds
Bounded DNS+TCP pre-flight probe timeout in seconds. 0 disables the
public int ConnectTimeoutSeconds { get; set; }
EffectivePort
Returns the effective LDAP port (636 if SSL enabled and default port unchanged).
public int EffectivePort { get; }
MaxConnections
Maximum number of pooled connections. Default: 5.
public int MaxConnections { get; set; }
OperationTimeoutSeconds
Client-side timeout for a single LDAP operation in seconds. 0 = no limit. Default: 10.
public int OperationTimeoutSeconds { get; set; }
SkipCertificateValidation
Skip server certificate validation (development only!). Default: false.
public bool SkipCertificateValidation { get; set; }
UseStartTls
Upgrade to TLS via STARTTLS on the plain port. Default: false.
public bool UseStartTls { get; set; }