Skip to content

Commit

Permalink
Merge branch 'v4' into bump_version
Browse files Browse the repository at this point in the history
  • Loading branch information
rvazarkar authored Oct 15, 2024
2 parents 4988efc + 37ba516 commit 813bec5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/CommonLib/Processors/DomainTrustProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ public async IAsyncEnumerable<DomainTrust> EnumerateDomainTrusts(string domain)

trust.TGTDelegationEnabled =
!attributes.HasFlag(TrustAttributes.QuarantinedDomain) &&
(attributes.HasFlag(TrustAttributes.CrossOrganizationEnableTGTDelegation)
|| !attributes.HasFlag(TrustAttributes.CrossOrganizationNoTGTDelegation));
(attributes.HasFlag(TrustAttributes.WithinForest) ||
attributes.HasFlag(TrustAttributes.CrossOrganizationEnableTGTDelegation));

trust.TrustType = TrustAttributesToType(attributes);

yield return trust;
Expand All @@ -111,4 +112,4 @@ public static TrustType TrustAttributesToType(TrustAttributes attributes)
return trustType;
}
}
}
}

0 comments on commit 813bec5

Please sign in to comment.