[jcifs] How to list all computers in LAN?
Christopher R. Hertel
crh at ubiqx.mn.org
Wed Jun 29 12:41:24 MDT 2011
None of which I am aware, yet.
You are not the first to ask.
Note, however, that there is no mechanism (of which I am aware) to discover
SMB2 nodes on a LAN.
Chris -)-----
Andre Li wrote:
> Any Java implementation over SMB2?
>
> ------------------------------------------------------------------------
> *From:* Christopher R. Hertel <crh at ubiqx.mn.org>
> *To:* Andre Li <ndrli at yahoo.com>
> *Cc:* "jcifs at lists.samba.org" <jcifs at lists.samba.org>
> *Sent:* Wednesday, June 29, 2011 10:02 AM
> *Subject:* Re: [jcifs] How to list all computers in LAN?
>
> Andre Li wrote:
>> Does that mean Samba is going to be phased out?
>
> Huh? Heck no! Samba is more relevant than ever.
>
> It means that the NBT transport is being phased out, as is the SMB/CIFS
> protocol. SMB2 over naked TCP transport is where everything is heading.
>
>> Meanwhile, I still want to use it. Is there any thing I can do to make
>> it work today?
>
> The only way to make it work is to understand it, and then to understand it
> within the context of your network. *If* your systems are all running the
> NBT transport *and* are configured to respond to broadcast name queries
> *and* at least one of the nodes on the LAN is running as a Local Master
> Browser, *then* your code might work.
>
> As far as I can see, the code is correct. It's broadcasting a name query
> for the special MSBROWSE name. The problem is, it's not getting a response.
>
> http://ubiqx.org/cifs/Browsing.html
>
> Chris -)-----
>
> --
> "Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
> 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
> <mailto:crh at ubiqx.mn.org>
> OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
> <mailto:crh at ubiqx.org>
>
>
--
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
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