TestimoX

API Reference

Class

TrustCommunicationAnalyzer

Namespace ADPlayground.Trusts
Assembly ADPlayground

Analyzes trust communication failures using NetLogon logs and event logs.

Inheritance

  • Object
  • TrustCommunicationAnalyzer

Remarks

Requires either NetLogon debug logging to be enabled and accessible (for log parsing) or relevant events present in the System log on domain controllers. See TrustCommunicationEventLogParser for the event IDs used.

Constructors

public TrustCommunicationAnalyzer(Func<String, IEnumerable<NetLogonLogEntryGeneric>> readNetlog = null, Func<String, IEnumerable<TrustCommunicationIssue>> readEvents = null, Func<String, IEnumerable<String>> enumerateDcs = null, Boolean pingDcs = false) #

Initializes a new instance of the TrustCommunicationAnalyzer class.

Parameters

readNetlog System.Func{System.String,System.Collections.Generic.IEnumerable{ADPlayground.NetLogonLogEntryGeneric}} = null optionalposition: 0
Delegate reading NetLogon log entries for a DC.
readEvents System.Func{System.String,System.Collections.Generic.IEnumerable{ADPlayground.Trusts.TrustCommunicationIssue}} = null optionalposition: 1
Delegate reading event log issues for a DC.
enumerateDcs System.Func{System.String,System.Collections.Generic.IEnumerable{System.String}} = null optionalposition: 2
Delegate enumerating domain controllers.
pingDcs System.Boolean = false optionalposition: 3
Indicates whether domain controllers should be pinged.

Methods

public IEnumerable<TrustCommunicationIssue> AnalyzeDomain(String domain) #
Returns: IEnumerable<TrustCommunicationIssue>

Analyzes trust communication for the specified domain.

Parameters

domain System.String requiredposition: 0
public IEnumerable<TrustCommunicationIssue> AnalyzeForest() #
Returns: IEnumerable<TrustCommunicationIssue>

Analyzes trust communication across all forest domains.