Skip to content

LdapSessionOptions #5

Description

@dogguts

Lots of properties/methods in LdapSessionOptions are directly related to the wldap32 library, some of them don't have a openLdap (or standard) counterpart or behave differently (for now).

Properties/Methods with different implementations or only one implementation on either wldap32 or openldap move to (partials classes of LdapSessionOptions) LdapSessionOptions.Unix and LdapSessionOptions.Windows.

Properties;

  • HostName (LDAP_OPT_HOST_NAME)

  • ProtocolVersion (LDAP_OPT_VERSION)

  • StartTransportLayerSecurity(DirectoryControlCollection)
    Should work, but ignores certificate validation

  • TcpKeepAlive (LDAP_OPT_TCP_KEEPALIVE / LDAP_OPT_X_KEEPALIVE_*)
    Implemented but untested

  • AutoReconnect (LDAP_OPT_AUTO_RECONNECT)
    Not implemented on *nix, doesn't do anything

  • DomainName (LDAP_OPT_DNSDOMAIN_NAME)
    Not implemented on *nix, doesn't do anything

  • HostReachable (LDAP_OPT_HOST_REACHABLE)
    Not implemented on *nix, doesn't do anything

  • LocatorFlag (LDAP_OPT_GETDSNAME_FLAGS)
    Not implemented on *nix, doesn't do anything

  • PingKeepAliveTimeout (LDAP_OPT_PING_KEEP_ALIVE)
    Not implemented on *nix, doesn't do anything

  • PingLimit (LDAP_OPT_PING_LIMIT)
    Not implemented on *nix, doesn't do anything

  • PingWaitTimeout (LDAP_OPT_PING_WAIT_TIME)
    Not implemented on *nix, doesn't do anything

  • QueryClientCertificate
    Untouched/Untested and most likely not working at all

  • ReferralCallback
    Untouched/Untested and most likely not working at all

  • ReferralChasing (LDAP_OPT_REFERRALS)
    Untouched/Untested and most likely not working at all

  • ReferralHopLimit (LDAP_OPT_REFERRAL_HOP_LIMIT)
    Untouched/Untested and most likely not working at all

  • RootDseCache
    Not implemented on *nix, doesn't do anything

  • SaslMethod (LDAP_OPT_X_SASL_MECH?)
    Untested and most likely not working at all

  • Sealing (LDAP_OPT_ENCRYPT)
    Untouched/Untested and most likely not working at all

  • SecureSocketLayer (LDAP_OPT_SSL)
    Untouched/Untested and most likely not working at all

  • SecurityContext (LDAP_OPT_SECURITY_CONTEXT)
    Untouched/Untested and most likely not working at all

  • SendTimeout (LDAP_OPT_SEND_TIMEOUT)
    Untouched/Untested and most likely not working at all

  • Signing (LDAP_OPT_SIGN)
    Untouched/Untested and most likely not working at all

  • SslInformation (LDAP_OPT_SSL_INFO)
    Untouched/Untested and most likely not working at all

  • SspiFlag (LDAP_OPT_SSPI_FLAGS)
    Untouched/Untested and most likely not working at all

  • VerifyServerCertificate
    Untouched/Untested and most likely not working at all

Methods:

  • FastConcurrentBind()
    Untouched/Untested and most likely not working at all
  • StopTransportLayerSecurity()
    Untouched, but won't work since openLdap doesn't have a "ldap_stop_tls" function. The necessity for one seems to escape me though.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions