OptionalbindBind DN; when provided, connect binds before returning.
OptionalexpectedHostname the server's TLS certificate must match (server-identity verification). Applies to the StartTLS upgrade; defaults to LdapConnectOptions.hostname. For implicit LDAPS the runtime validates the certificate against the connection hostname directly.
Remote LDAP host.
OptionalpasswordBind password; paired with LdapConnectOptions.bindDN.
OptionalportRemote port; defaults to 389 (or 636 via edgeport/ldaps).
OptionaltimeoutPer-operation read deadline in milliseconds.
OptionaltlsTransport security:
'off' (default): plaintext LDAP.'implicit': TLS from the first byte (LDAPS).'starttls': plaintext, upgraded with the StartTLS extended operation before bind.
Options for connect and search.