[jcifs] MSRPC

Michael B Allen miallen at ioplex.com
Sat Dec 22 02:36:42 GMT 2007


On Fri, 21 Dec 2007 16:27:50 -0800
"Josh Cooper" <josh.nw at gmail.com> wrote:

> I need to launch processes remotely on Windows from Linux.  I've read
> the other posts about using atsvc, psexec-like approach, or WMI.
> 
> I've been able to use j-Interop to launch processes via WMI+DCOM, but
> I'd like to avoid DCOM if possible.
> 
> So my question is whether I could instead use MSRPC directly to access
> WMI remotely?  If I understand correctly, I'd need to create the IDL
> for the one or two WMI interfaces I need, e.g. ISWbemServices, use
> midlc to generate the java stubs, write a test client, and compare the
> ethereal dumps with a "real" client?  Has anyone else been down this
> road before?

WMI uses COM and midlc does not currently support COM interfaces so I
think j-Interop is your best bet right now.

But Jarapac has the IDL for the atsvc which works with JCIFS + midlc.

Mike

-- 
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/


More information about the jcifs mailing list