Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/Runtime/ObjectProcessors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ await _containerProcessor.GetContainingObject(dn) is (true, var container)) {
}

if (resolvedSearchResult.IsDomainController)
ProcessDomainController(resolvedSearchResult, ret, apiName);
await ProcessDomainController(resolvedSearchResult, ret, apiName);

var trimmedSamAccountName = samAccountName?.TrimEnd('$');

Expand Down Expand Up @@ -453,7 +453,7 @@ private RegistryProcessor GetRegistryProcessor(ResolvedSearchResult resolvedSear
})).Value;
}

private async void ProcessDomainController(ResolvedSearchResult resolvedSearchResult, Computer ret,
private async Task ProcessDomainController(ResolvedSearchResult resolvedSearchResult, Computer ret,
string apiName) {
_log.LogDebug("Processing DC: {dc}", apiName);

Expand All @@ -464,7 +464,9 @@ private async void ProcessDomainController(ResolvedSearchResult resolvedSearchRe
StrongCertificateBindingEnforcement =
_dcRegistryProcessor.GetStrongCertificateBindingEnforcement(apiName),
VulnerableNetlogonSecurityDescriptor =
_dcRegistryProcessor.GetVulnerableNetlogonSecurityDescriptor(apiName)
_dcRegistryProcessor.GetVulnerableNetlogonSecurityDescriptor(apiName),
CurrentBuildNumber = _dcRegistryProcessor.GetCurrentBuildNumber(apiName),
CurrentBuildRevision = _dcRegistryProcessor.GetCurrentBuildRevision(apiName)
};

ret.DCRegistryData = dCRegistryData;
Expand Down
Loading