[jcifs] no name with type 0x00 with no scope for host

ashish ashishn at ntechra.com
Wed Feb 20 14:55:03 EST 2002

well, I have written a very short code
and here it is

 String ip = "";

        System.out.println("host ip = "+ip);
         NbtAddress addr[] = NbtAddress.getAllByAddress(ip) ;
  catch(Exception e)
         System.out.println("No NETBIOS for ip = "+ip);

I am not using any scope as such in my code.
well, how to know if XP machine is using any scope id.
I am not using "NbtAddress.ALL_HOSTS_NAME " directly as u have seen my code
But I forgot to tell one important point... this machine is a "dialup


----- Original Message -----
From: Allen, Michael B (RSCH) <Michael_B_Allen at ml.com>
To: 'ashish' <ashishn at ntechra.com>
Cc: <jcifs at lists.samba.org>
Sent: Tuesday, February 19, 2002 7:26 PM
Subject: RE: [jcifs] no name with type 0x00 with no scope for host

> > -----Original Message-----
> > From: ashish [SMTP:ashishn at ntechra.com]
> >
> > yep.. NbtAddress.ALL_HOSTS_NAME is used for query .
> > so i guess jcifs is sending proper request in the PDU if thats is the
> > problem.
> > Well, I have taken latest version of jcifs and it still same problem
> > so what exactly needs to be done...
> >
> It's not clear what you're doing. You posted half of a stack trace and
> ALL_HOSTS_NAME is not public so you cannot be using that directly. Are
> you trying to do some kind of regular operation like list() or what? Can
> post a minimal program that demonstrats the problem? I need more
> information. Does the XP machine use a "Scope ID"?
> Thanks,
> Mike

More information about the jcifs mailing list