[jcifs] no name with type 0x00 with no scope for host
crh at ubiqx.org
Wed Feb 20 06:47:20 EST 2002
RFC1001/1002 require that every node that is participating in the NBT LAN
register a "permanent" name. Microsoft ignored this requirement. They do
not register a "permanent" name.
With older versions of Windows, you could pretty much assume that any
machine running NBT would register the "Workstation Service" name, also
known as the "Client Service" or "Machine" name. This is the name with
the <00> type. This was as close as Microsoft came to registering a
For some reason, Microsoft decided not to have XP register this name
unless the XP system was running the client services. It may be, in fact,
that the older Windows versions default to running the client services if
they are running the server service, and that these also can run without
the <00> name. I argued with a Microsoft engineer about this at last
In any case, the problem is that jCIFS is looking for the <00> name and
the XP system has not registered that name.
In your example, you use "nbtstat -A <ip address>". The -A option does
*not* look for the <00> name. It sends a NODE STATUS REQUEST directly to
the IP address you gave and uses the '*' wildcard name.
Okay, having said all that...
The getAllByAddress() seems to be looking for the <00>. I don't know why
it would do that, so I'll have to ask others on this list. It would be
helpful to know what it is you are actually doing that leads up to this
On Tue, Feb 19, 2002 at 11:13:20AM -0800, ashish wrote:
> I have been getting this exception message for a windows XP machine.
> java.net.UnknownHostException: no name with type 0x00 with no scope for host 10.0.100.114
> at jcifs.netbios.NbtAddress.getAllByAddress(NbtAddress.java:481)
> at jcifs.netbios.NbtAddress.getAllByAddress(NbtAddress.java:437, Compiled Code)
> when I do simple "nbtstat -A <ip address> , it works fine.
> What should I do to nake JCIFS work for this machine.
> Do I need to change some configuration settings.
> I am using all default configuration settings.
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
More information about the jcifs