[jcifs] no name with type 0x00 with no scope for host
Allen, Michael B (RSCH)
Michael_B_Allen at ml.com
Wed Feb 20 11:13:33 EST 2002
> -----Original Message-----
> From: Christopher R.Hertel [SMTP:crh at ubiqx.org]
> Sent: Tuesday, February 19, 2002 2:47 PM
> To: ashish
> Cc: jcifs at lists.samba.org
> Subject: Re: [jcifs] no name with type 0x00 with no scope for host
>
> Ashish,
>
> 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
> "permanent" name.
>
> For some reason, Microsoft decided not to have XP register this name
> unless the XP system was running the client services.
>
Register? So you're saying XP doesn't respond to node status?
> 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
> year's Connectathon.
>
> 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,
>
I don't know if all hosts respond to anything else. At least there's a comment
in my code that reads:
// type has to be 0x00 for node status
> 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
> point.
>
> Chris -)-----
>
> On Tue, Feb 19, 2002 at 11:13:20AM -0800, ashish wrote:
> > HI,
> > 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.
> >
> > Thanks,
> > Ashish
>
> --
> 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
mailing list