TestimoX

API Reference

Class

LdapServerReadableFactory

Namespace ADPlayground.Ldap
Assembly ADPlayground
Modifiers static

Factory for creating LdapServerReadable from LdapServerResult.

Inheritance

  • Object
  • LdapServerReadableFactory

Methods

public static LdapServerReadable Create(LdapServerResult result, Boolean verifyCertificate, IReadOnlyList<String> certificateIncludeDomainName, String identity, NetworkCredential credential = null, Nullable<AuthType> authType = null, Int32 maxEndpointConcurrency = 4, Int32 portLdapNumber = 389, Int32 portLdapsNumber = 636, Int32 gcPortLdapNumber = 3268, Int32 gcPortLdapsNumber = 3269, Boolean skipGlobalCatalog = false, Int32 enrichmentTimeoutMs = 3000, Nullable<Boolean> knownIsGlobalCatalog = null) #
Returns: LdapServerReadable

Creates a readable view for a single server result.

Parameters

result ADPlayground.Ldap.LdapServerResult requiredposition: 0
Detailed server result.
verifyCertificate System.Boolean requiredposition: 1
Indicates if certificate checks were performed.
certificateIncludeDomainName System.Collections.Generic.IReadOnlyList{System.String} requiredposition: 2
Optional list of DNS names that must be present on the certificate to report OK status.
identity System.String requiredposition: 3
Optional identity string used for search.
credential System.Net.NetworkCredential = null optionalposition: 4
Optional network credential for binding.
authType System.Nullable{System.DirectoryServices.Protocols.AuthType} = null optionalposition: 5
Optional authentication type override.
maxEndpointConcurrency System.Int32 = 4 optionalposition: 6
Maximum simultaneous connections per endpoint.
portLdapNumber System.Int32 = 389 optionalposition: 7
Port number for standard LDAP.
portLdapsNumber System.Int32 = 636 optionalposition: 8
Port number for LDAPS.
gcPortLdapNumber System.Int32 = 3268 optionalposition: 9
Port number for global catalog LDAP.
gcPortLdapsNumber System.Int32 = 3269 optionalposition: 10
Port number for global catalog LDAPS.
skipGlobalCatalog System.Boolean = false optionalposition: 11
Skip querying global catalog ports.
enrichmentTimeoutMs System.Int32 = 3000 optionalposition: 12
Per-step timeout budget (ms) for enriching the readable view (site/OS/DNS/IP lookups).
knownIsGlobalCatalog System.Nullable{System.Boolean} = null optionalposition: 13
Optional authoritative Global Catalog state from directory facts.
public static async Task<LdapServerReadable> CreateAsync(LdapServerResult result, Boolean verifyCertificate, IReadOnlyList<String> certificateIncludeDomainName, String identity, NetworkCredential credential = null, Nullable<AuthType> authType = null, Int32 maxEndpointConcurrency = 4, Int32 portLdapNumber = 389, Int32 portLdapsNumber = 636, Int32 gcPortLdapNumber = 3268, Int32 gcPortLdapsNumber = 3269, Boolean skipGlobalCatalog = false, Int32 enrichmentTimeoutMs = 3000, CancellationToken cancellationToken = null, Nullable<Boolean> knownIsGlobalCatalog = null) #
Returns: Task<LdapServerReadable>

Creates a readable view for a single server result.

Parameters

result ADPlayground.Ldap.LdapServerResult requiredposition: 0
Detailed server result.
verifyCertificate System.Boolean requiredposition: 1
Indicates if certificate checks were performed.
certificateIncludeDomainName System.Collections.Generic.IReadOnlyList{System.String} requiredposition: 2
Optional list of DNS names that must be present on the certificate to report OK status.
identity System.String requiredposition: 3
Optional identity string used for search.
credential System.Net.NetworkCredential = null optionalposition: 4
Optional network credential for binding.
authType System.Nullable{System.DirectoryServices.Protocols.AuthType} = null optionalposition: 5
Optional authentication type override.
maxEndpointConcurrency System.Int32 = 4 optionalposition: 6
Maximum simultaneous connections per endpoint.
portLdapNumber System.Int32 = 389 optionalposition: 7
Port number for standard LDAP.
portLdapsNumber System.Int32 = 636 optionalposition: 8
Port number for LDAPS.
gcPortLdapNumber System.Int32 = 3268 optionalposition: 9
Port number for global catalog LDAP.
gcPortLdapsNumber System.Int32 = 3269 optionalposition: 10
Port number for global catalog LDAPS.
skipGlobalCatalog System.Boolean = false optionalposition: 11
Skip querying global catalog ports.
enrichmentTimeoutMs System.Int32 = 3000 optionalposition: 12
Per-step timeout budget (ms) for enriching the readable view (site/OS/DNS/IP lookups).
cancellationToken System.Threading.CancellationToken = null optionalposition: 13
Cancellation token.
knownIsGlobalCatalog System.Nullable{System.Boolean} = null optionalposition: 14
Optional authoritative Global Catalog state from directory facts.