Current status of WMI support in Samba 4

Andrew Bartlett abartlet at
Fri May 29 08:41:31 GMT 2009

On Tue, 2009-05-26 at 09:04 +1000, Andrew Bartlett wrote:
> On Fri, 2009-05-22 at 13:03 +0200, Michael Sievers wrote:
> > Hi !
> > 
> > The Paderborn Center for Parallel Computing currently evaluates the 
> > possibility of contributing a Hyper-V driver to the libvirt project. 
> > Hyper-V uses WMI as its primary API. Searching the web for a way using 
> > WMI from Linux showed us that there is a Samba 4 based WMI command line 
> > client in Ubuntu, based on Samba 4 (TP4). But TP4 is rather old, so I 
> > searched the mailing list archiv for mails concerning current WMI 
> > support. Last thing I noticed was an announcement of alpha 6, mentioned 
> > that WMI supported was reintegrated, but not as functional as before.
> > 
> > My question is how functional is WMI support in current samba 4 alpha 7 
> >   Is it usable ? How can I enable it ? I downloaded alpha 7 and tried to 
> > build the wmic/wmis tools, but didn't find an appropriate configure nor 
> > makefile option.
> Sadly the WMI development occured in a private fork of Samba4 just after
> we removed the DCOM code on which it relied from the distribution.  We
> found out about it only months later, after the packages landed in
> Debian.
> It has taken a lot of effort (and there are some other blockers) to get
> the support back into Samba4.   Ask Jelmer for the details.

Should you wish to develop on this, I would look at the com branch in 


and the wmi branch in


But I don't know the status more than that.  Jelmer can perhaps
elaborate on the status of that code, and what needs to be done before
it can be merged.

Andrew Bartlett
Andrew Bartlett
Authentication Developer, Samba Team 
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :

More information about the samba-technical mailing list