[jcifs] RE: NetBIOS adapter status request

Glass, Eric eric.glass at capitalone.com
Fri Jan 31 23:33:11 EST 2003


Sorry, I hit the send button a bit too quickly.

> -----Original Message-----
> From: Glass, Eric 
> Sent: Friday, January 31, 2003 7:27 AM
> To: 'jcifs at lists.samba.org'
> Subject: NetBIOS adapter status request
> 
> 
> Hello,
> 
> I was messing around with NbtAddress.getMacAddress() -- I 
> noticed that it seemed to work only in the case that the host 
> was running the "Server" service (had a <20> entry, I think). 
>  Otherwise, I would get:
> 
> Exception in thread "main" java.net.UnknownHostException: no 
> name with type 0x00
>  with no scope for host 10.60.38.202
>         at 
> jcifs.netbios.NbtAddress.getAllByAddress(NbtAddress.java:523)
>         at nbttest.main(nbttest.java:10)
> 
> running "nbtstat -a host"
> 

To continue, running "nbtstat -a host" shows two entries of type <00>, a
"unique" entry for the hostname and a "group" entry for the domain.  I can
connect to several other boxes just fine, and the common thread seems to be
that all working hosts have a <20> entry (running the file sharing service).
Is this a jCIFS limitation?  Is nbtstat doing something different to
successfully connect to the hosts without sharing enabled?

Eric
 
**************************************************************************
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.


More information about the jcifs mailing list