Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xGroupResource: Creates error on forcing members for builtin Administrators group #467

Closed
tmeckel opened this issue Nov 19, 2018 · 2 comments
Labels
bug The issue is a bug. help wanted The issue is up for grabs for anyone in the community.

Comments

@tmeckel
Copy link
Contributor

tmeckel commented Nov 19, 2018

Details of the scenario you tried and the problem that is occurring

For details refer to the same issue at PSDscResources PowerShell/PSDscResources#87.

as seen here https://github.com/PowerShell/xPSDesiredStateConfiguration/blob/9fd047b90f3d74c4a83e0ae0011da1af5b916bbd/DSCResources/MSFT_xGroupResource/MSFT_xGroupResource.psm1#L2439 the code for xGroupResource suffers from the same problem as the GroupResource in PSDscResources.

Verbose logs showing the problem

ref to PowerShell/PSDscResources#87.

Suggested solution to the issue

porting the fix from PR PowerShell/PSDscResources#118 in PSDscResources

The DSC configuration that is used to reproduce the issue (as detailed as possible)

Group GroupExample
{
    Ensure = "Present"
    GroupName = "Administrators"
    Members = @( ".\Administrator", "<Domain>\<SamAccountName>")
}

or

Group GroupExample
{
    Ensure = "Present"
    GroupName = "Administrators"
    Members = @( "<Domain>\<SamAccountName>")
}
@stale
Copy link

stale bot commented Dec 19, 2018

This issue has been automatically marked as stale because it has not had activity from the community in the last 30 days. It will be closed if no further activity occurs within 10 days. If the issue is labelled with any of the work labels (e.g bug, enhancement, documentation, or tests) then the issue will not auto-close.

@stale stale bot added the stale The issue or pull request was marked as stale because there hasn't been activity from the community. label Dec 19, 2018
@PlagueHO PlagueHO added bug The issue is a bug. help wanted The issue is up for grabs for anyone in the community. labels Jan 18, 2019
@stale stale bot removed the stale The issue or pull request was marked as stale because there hasn't been activity from the community. label Jan 18, 2019
@PlagueHO
Copy link
Member

Thanks @tmeckel - we will want to back port that fix into here as you say. Once I've started getting the other backport PR's through then I'll get onto this (unless someone else gets there first).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug. help wanted The issue is up for grabs for anyone in the community.
Projects
None yet
Development

No branches or pull requests

2 participants