[jcifs] no name with type 0x20

Michael B. Allen mballen at erols.com
Sat Sep 29 10:01:58 EST 2001

On Wed, Sep 26, 2001 at 07:23:42PM +1000, Clint Heyer wrote:
> Hi,
>   I'm getting the following error when I try to do a SmbFile.list on a 
> particular machine ('W'), using its IP address. It does the same thing for 
> the NetBIOS name, or hostname and with or without specifying a user (user 
> used was guest):

It doesn't work with the NetBIOS name? From those traces you sent me it
looks like the target is simply not responding to a node status. I'm
not surprised if it's some of Microsofts newer servers but it should
respond to the correct NetBIOS name. I suspect what smbclient is doing
is using the *SMBSERVER name. I thought jCIFS did this consistently
but from looking at the code I have found a hole where it does not. I
believe this may be the case here. But if the NetBIOS name doesn't work
there is a more serious problem. Can you double check that and send me
a trace please? Make sure you are using the correct name of course.

As for the solution, I will be posting a followup message about name
service inadequacy. Chris, you wanted to go through this? Then put your
SMB URL hat on and get out those 'how' questions :~)


> ---
> Sep 26 19:02:08.690 - SmbFile exception java.net.UnknownHostException: no 
> name with type 0x20 with no scope for host    at 
> jcifs.netbios.NbtAddress.getAllByAddress(NbtAddress.java:622)        at 
> ---
> added interface ip= bcast= nmask=
> session request to failed (Called name not present)
> session request to 192 failed (Called name not present)
> Password:
> appreciated! BTW: It's a Windows 2000 Pro machine, and I can get to other 

More information about the jcifs mailing list