Skip to content

Commit

Permalink
handle parentchild trusts for TGT delegation
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasBK authored Oct 8, 2024
1 parent e6c7e71 commit a2edcf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CommonLib/Processors/DomainTrustProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ public async IAsyncEnumerable<DomainTrust> EnumerateDomainTrusts(string domain)

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

trust.TrustType = TrustAttributesToType(attributes);

Expand Down

0 comments on commit a2edcf1

Please sign in to comment.