[Samba] Compiling WMIC/Accessing WMI
abartlet at samba.org
Thu Jun 25 02:59:58 UTC 2020
On Thu, 2020-06-25 at 11:29 +1000, Matthew Jurgens via samba wrote:
> As of Windows 10 version 2004, the wmic client no longer works. It
> the following error -
> [wmi/wmic.c:196:main()] ERROR: Login to remote object.
> NTSTATUS: NT code 0x80010111 - NT code 0x80010111
> This seems to be an RPC header error. Presumably Microsoft changed
> something that broke wmic.
> Since I found wmic.c in the samba source I thought that it might be
> to be compiled as part of samba. However, I've found an old thread
> this mailing list
> suggests that compiling it would not be possible.
> So I have two questions:
> 1) Is compiling wmic as part of samba still out of the question?
Yes, absent a massive development effort. I really should delete those
> 2) Is there some other way to access WMI on Windows from Linux?
Try over web services (which are not really web), there are python
clients for some of this.
Authentication Developer, Samba Team https://samba.org
Samba Development and Support, Catalyst IT - Expert Open Source
More information about the samba