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

ashish ashishn at ntechra.com
Wed Feb 20 14:56:46 EST 2002


ouch.. one more inference...
and when the same machine is connected through normal LAN connection.. it
works ..

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


> well, I have written a very short code
> and here it is
>
>  String ip = "10.0.100.114";
>   try
>
>
>         System.out.println("host ip = "+ip);
>          NbtAddress addr[] = NbtAddress.getAllByAddress(ip) ;
>   }
>   catch(Exception e)
>   {
>          e.printStackTrace();
>          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
> machine".
>
> Thanks,
> ashish
>
>
>
>
> ----- 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
> only
> > > problem.
> > > Well, I have taken latest version of jcifs and it still same problem
> exists.
> > > 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
> you
> > 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