From 21553adddd5c4140c91747378b055c20dc94b24b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20B=C3=BClow=20Knudsen?= <12843299+JonasBK@users.noreply.github.com> Date: Tue, 26 Mar 2024 16:01:49 +0100 Subject: [PATCH] fix: create WriteAccountRestrictions edges from DA (#112) --- src/CommonLib/Processors/ACLProcessor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CommonLib/Processors/ACLProcessor.cs b/src/CommonLib/Processors/ACLProcessor.cs index 1680848e..dd6fb5ae 100644 --- a/src/CommonLib/Processors/ACLProcessor.cs +++ b/src/CommonLib/Processors/ACLProcessor.cs @@ -410,7 +410,7 @@ or Label.NTAuthStore IsInherited = inherited, RightName = EdgeNames.AddAllowedToAct }; - else if (objectType == Label.Computer && aceType == ACEGuids.UserAccountRestrictions && !resolvedPrincipal.ObjectIdentifier.EndsWith("-512")) + else if (objectType == Label.Computer && aceType == ACEGuids.UserAccountRestrictions) yield return new ACE { PrincipalType = resolvedPrincipal.ObjectType,