dsccommunity / SecurityPolicyDsc

A wrapper around secedit.exe to configure local security policies
MIT License
177 stars 53 forks source link

DSC Conversion Breaks #179

Open joelymalookey opened 2 years ago

joelymalookey commented 2 years ago

https://github.com/dsccommunity/SecurityPolicyDsc/blob/16bd0e2cc678e3c456468b10da5071d97e5d5906/DSCResources/MSFT_SecurityOption/MSFT_SecurityOption.schema.mof#L68

This definition in the descriptions breaks the conversion with the error listed below, if I remove the definition --> EmbeddedInstance("MSFT_RestrictedRemoteSamSecurityDescriptor") then the below error does not appear.

Write-Error: Invalid MOF definition for node 'localhost': Exception calling "ValidateInstanceText" with "1" argument(s): "Convert property 'Network_access_Restrict_clients_allowed_to_make_remote_calls_to_SAM' value from type 'STRING' to type 'INSTANCE[]' failed At line:2522, char:2 Buffer: ionName = "sctest"; };^ insta "

PMLIO commented 4 months ago

https://github.com/dsccommunity/SecurityPolicyDsc/blob/16bd0e2cc678e3c456468b10da5071d97e5d5906/DSCResources/MSFT_SecurityOption/MSFT_SecurityOption.schema.mof#L68

This definition in the descriptions breaks the conversion with the error listed below, if I remove the definition --> EmbeddedInstance("MSFT_RestrictedRemoteSamSecurityDescriptor") then the below error does not appear.

Write-Error: Invalid MOF definition for node 'localhost': Exception calling "ValidateInstanceText" with "1" argument(s): "Convert property 'Network_access_Restrict_clients_allowed_to_make_remote_calls_to_SAM' value from type 'STRING' to type 'INSTANCE[]' failed At line:2522, char:2 Buffer: ionName = "sctest"; };^ insta "

Has there been any progress with this? I'm having the same problem.