[jcifs] get mac address

Christopher R. Hertel crh at ubiqx.mn.org
Wed Jul 13 00:26:15 GMT 2005


On Tue, Jul 12, 2005 at 07:48:01AM +0000, Flavio wrote:
> Hi all,
> 
> I use jcifs-1.1.4 to find the mac address of the PC where my application is 
> working.
> 
> With win (2000/xp) everything works fine.
> 
> I tried the same application on Linux (fedora core 3) and every time I got a 
> mac like 00:00:00:00:00:00.
> 
> Any hint ?

Samba does not return the MAC address in the Node Query Response packet.

  http://www.ubiqx.org/cifs/NetBIOS.html#NBT.4.3.5.1

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
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org


More information about the jcifs mailing list