namespace ScadaLink.Security; /// /// Transport security mode for the LDAP connection. The design requires either /// LDAPS or StartTLS in production; is for dev/test only and /// must be paired with . /// public enum LdapTransport { /// /// LDAPS — TLS negotiated at connection time (typically port 636). /// Ldaps, /// /// StartTLS — connect in plaintext (typically port 389), then upgrade the /// session to TLS before binding. /// StartTls, /// /// No transport security. Dev/test only — requires /// to be true. /// None }