os/user: TestGroupIds fails in Windows Server Core container #62712
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Windows
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
What did you see instead?
Through a liberal sprinkling of
println()
I have confirmed that the error is returned from theNetUserGetLocalGroups()
call, same as #26041. I also tried forcing use of the fully-qualified user nameUser Manager\ContainerAdministrator
as the query despiteisDomainJoined() = (false, nil)
with the same result.The os/user tests do pass inside a container if a local user is created inside the container and the
go test
command run under that user. The issue only manifests with theContainerAdministrator
andContainerUser
default user accounts.The text was updated successfully, but these errors were encountered: