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

Guest user is not part of Domain Users group #88

Closed
itpro-tips opened this issue Mar 5, 2020 · 2 comments
Closed

Guest user is not part of Domain Users group #88

itpro-tips opened this issue Mar 5, 2020 · 2 comments

Comments

@itpro-tips
Copy link
Contributor

@itpro-tips itpro-tips commented Mar 5, 2020

The 'Primary Group shouldn't be changed from default Domain Users' test always fails.

The reason is guest user has, by default, PrimaryGroupID=514 (GROUP_RID_GUEST) and not 513.
Maybe you had a good reason to not excluded the guest user of this test ?

If not, exclusion can be made with SID to be independant of AD language S-1-5-21-501

@PrzemyslawKlys

This comment has been minimized.

Copy link
Member

@PrzemyslawKlys PrzemyslawKlys commented Mar 5, 2020

I fixed this yesterday

Get-ADUser -Filter { AllowReversiblePasswordEncryption -eq $true -or UseDESKeyOnly -eq $true -or (PrimaryGroupID -ne '513' -and PrimaryGroupID -ne '514') } -Properties AllowReversiblePasswordEncryption, UseDESKeyOnly, PrimaryGroup, PrimaryGroupID, PasswordLastSet, Enabled -Server $Domain

It wasn't committed as I started adding support for different forests. It should be either Domain Users or Domain Guests (I guess only for 1 account).

@PrzemyslawKlys

This comment has been minimized.

Copy link
Member

@PrzemyslawKlys PrzemyslawKlys commented Mar 5, 2020

But maybe it's just better to exclude guest user and not whole Group SID.

itpro-tips added a commit to itpro-tips/Testimo that referenced this issue Mar 6, 2020
…tecIT#88

Use guest user instead of guest group EvotecIT#88
Fix some typo
Add network card infos related to loopback EvotecIT#43, DHCP EvotecIT#56 and WindowsFirewall Profile
PrzemyslawKlys added a commit that referenced this issue Mar 6, 2020
Add networks card info #43 and #56 and guest user #88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.