[jcifs] net send

Christopher R.Hertel crh at ubiqx.mn.org
Fri Apr 12 05:05:22 EST 2002


On Thu, Apr 11, 2002 at 02:19:05PM -0400, Michael B.Allen wrote:
> On Thu, 11 Apr 2002 15:15:03 +0000
> "Jonathan Moore" <jpmoore40 at hotmail.com> wrote:
> 
> > Hi,
> > 
> > I'm looking for a way to send a windows network message from a java 
> > application. Is this possible at all using jcifs? If not can anyone point me 
> > in the right direction?
> 
> No. But it's probably about 10 lines of code. I don't know the format
> of that SMB though. I know it's trivial but it's not in the spec. You
> could probably figure it out from a couple of packet captures.

I assume this is a Win Popup message.  The names keep changing.

I *think* it is a mailslot via the datagram service.  I was looking at
this stuff a few weeks ago.  Haven't had time to commit it to memory.

It is implemented in Samba's smbclient program.

Chris -)-----

> Otherwise, you'll have to Runtime.exec the smbsend or net send commands.
> 
> Mike
> 
> -- 
> May The Source be with you.
> 
> 

-- 
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org




More information about the jcifs mailing list