Skip to content

Conversation

@compnerd
Copy link
Member

The user profile directory is not possible to access without the user
token for the GetUserProfileDirectoryW. Instead, we can iterate the
users matching a particular filter (e.g. local users). This allows us
to at least query some user home directory. Unfortunately, this would
disallow querying of users from a domain controller. This resolves an
immediate issue of SPM tests depending on the ability to query profile
information for a user.

@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd
Copy link
Member Author

CC: @parkera

@compnerd
Copy link
Member Author

@swift-ci please test

The user profile directory is not possible to access without the user
token for the `GetUserProfileDirectoryW`.  Instead, we can iterate the
users matching a particular filter (e.g. local users).  This allows us
to at least query some user home directory.  Unfortunately, this would
disallow querying of users from a domain controller.  This resolves an
immediate issue of SPM tests depending on the ability to query profile
information for a user.
@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd compnerd merged commit 62cc39c into swiftlang:main Aug 17, 2022
@compnerd compnerd deleted the user branch August 17, 2022 14:04
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.

2 participants