Description
The fall release of Nano Server removed a number of APIs with the effort of reducing the size of Nano Server. One of the DLLs removed was NetApi32.dll
. Currently there are a few places that lookup_windows.go calls APIs in NetApi32.dll - specifically isDomainJoined(..); lookupFullNameDomain(..) which is in turn called by newUser(..).
It may be possible to refactor a bit to remove this dependency - I will think about it but I wanted to get this logged.
Examples:
go/src/os/user/lookup_windows.go
Lines 18 to 27 in 3098cf0
go/src/syscall/zsyscall_windows.go
Lines 179 to 181 in 3098cf0
EDITED by @odeke-em to use permalinks and format the target examples