-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
When you're not using the pre-defined target groups of "Domain Controllers" or "Domain Computers" the resulting subscription that's loaded can't be opened in the UI (error screen shot attached).
This is because the resulting XML tag "AllowedSourceDomainComputers" ends up containing the name of the target group instead of the group SID. Adjusting the line in the script per below converts the group name to a SID and results in the problem being "fixed"
Default{$xmlWriter.WriteElementString("AllowedSourceDomainComputers","O:NSG:BAD:P(A;;GA;;;"+([System.Security.Principal.NTAccount]($Channel.TargetGroup)).Translate([System.Security.Principal.SecurityIdentifier]).Value+")S:")}
Metadata
Metadata
Assignees
Labels
No labels