Windows WMI (over DCE/RPC) with Samba?

Richard Sharpe rsharpe at richardsharpe.com
Wed Mar 3 15:28:15 GMT 2004


On Wed, 3 Mar 2004, Stefan (metze) Metzmacher wrote:

> > Windows has the nifty WMI - Windows Management
> > Instrumentation API. WMI is ideal for remote management of Windows
> > machines as you can extract an incredible wealth of information about
> > installed software, event log, performance, hardware, you-name-it via
> > WMI, all without installing any software at all on the windows
> > machines. For us it is very important to avoid having to install
> > software on all Windows hosts.
> > 
> > I've taken a look with Ethereal what is going on during WMI between
> > two windows machines, and MS DCE/RPC turns up again and again - so I
> > thought of Samba...
> > 
> > I don't think access to WMI is possible with Samba or with any other
> > Linux code, as it is. (grep -i wmi `find . -name *.c -type f` under
> > samba-3.0.2a/ returns nothing but an OT comment...)
> > 
> > Now my question:
> > 
> > Does anybody have an idea whether / how easy support for WMI would be?
> 
> We have a new DCERPC infastructure in samba4 , there we only need to 
> specify a IDL file and the C code will be autogenerated by a IDL-Compiler.
> 
> It would be cool if you could help us to write a WMI.idl file,
> (and maybe some others!:-)
> and torture tests for this interface...

You can find some hints on www.richardsharpe.com for how to discover 
something close to the IDL ...

Regards
-----
Richard Sharpe, rsharpe[at]richardsharpe.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com



More information about the samba-technical mailing list