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

Replace 'Users' group lookup with a well-known SID #2427

Merged
merged 1 commit into from
Jul 1, 2020

Conversation

tadaskay
Copy link
Member

@tadaskay tadaskay commented Jul 1, 2020

// https://support.microsoft.com/en-us/help/243330/well-known-security-identifiers-in-windows-operating-systems
// Looking up by name appears to be unreliable: the name could not be found in localized installations.
// Using a well-known security identifier here instead.

Fixes: #2411

// https://support.microsoft.com/en-us/help/243330/well-known-security-identifiers-in-windows-operating-systems
// Looking up by name appears to be unreliable: the name could not be found in localized installations.
// Using a well-known security identifier here instead.
usersSID := "S-1-5-32-545"
sddl := "D:P(A;;GA;;;BA)(A;;GA;;;SY)"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<3 windows

@tadaskay tadaskay merged commit 12c465e into master Jul 1, 2020
@tadaskay tadaskay deleted the 2411-windows-users-sid branch July 1, 2020 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Endless connecting during Windows app start
4 participants