[jcifs] nbtscan and mac addresses

Christopher R. Hertel crh at ubiqx.mn.org
Wed Aug 4 16:32:41 GMT 2004

Don't count on this behavior.

Windows systems will include the MAC address in the response to an Adapter 
Status query.  Other implementations will not do this (the results are all 
zeros).  Samba, for instance, does not provide the MAC address.  There are 
a lot of good reasons for this.

Chris -)-----

On Wed, Aug 04, 2004 at 05:46:34PM +0200, Torsten Curdt wrote:
> Looking at the nbtscan output I get the
> netbios name as well as the MAC address.
> Even across subnet boundaries!
> Is there a way to obtain the IP and MAC
> address with jcifs as well?
>  netbios --lookup--> IP, MAC
> cheers
> --
> Torsten

"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