called name not present

David Bear David.Bear at asu.edu
Wed Feb 5 18:35:22 GMT 2003


On Wed, Feb 05, 2003 at 10:57:10AM -0800, Richard Sharpe wrote:
> On Wed, 5 Feb 2003, David Bear wrote:
> 
> > I've encountered a strange error.  I have samba 2.2.7 installed on
> > freebsd 4.7.  I've run testparm on the smb.conf and don't see any
> > errors.  I can connect to a service from a windows 2k machine using
> > standard net use commands.  
> > 
> > HOWEVER, when I try to use smbclient from another machine to view my
> > bsd samba, I get the following error:
> > 
> > ====================================================
> > bash-2.05a$ smbclient -L //npcenter
> > added interface ip=129.219.120.183 bcast=129.219.120.191
> > nmask=255.255.255.192
> > session request to NPCENTER failed (Called name not present)
> > Password:
> > Anonymous login successful
> > Domain=[CUI] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
> > tree connect failed: NT_STATUS_DUPLICATE_NAME
> > ======================================================
> 
> Hmmm, I am not aware of any version of Samba claiming to be Windows 5.0 or 
> Windows 2000 LAN Manager.
> 
> Are you sure that you are connecting to a Samba server, and not, say, a 
> Win2K server by some accident?

Yes, I thought that was strange as well, yet, here's what nmblookup
finds.

bash-2.05a$ winsq npcenter
querying npcenter on 129.219.13.105
129.219.120.138 npcenter<00>
Looking up status of 129.219.120.138
        NPCENTER        <00> -         M <ACTIVE>
        NPCENTER        <03> -         M <ACTIVE>
        NPCENTER        <20> -         M <ACTIVE>
        ..__MSBROWSE__. <01> - <GROUP> M <ACTIVE>
        NPCGROUP        <00> - <GROUP> M <ACTIVE>
        NPCGROUP        <1b> -         M <ACTIVE>
        NPCGROUP        <1d> -         M <ACTIVE>
        NPCGROUP        <1e> - <GROUP> M <ACTIVE>

is there a way to use smbclient with an ip address to bypass any name
resolution differences that may be happening between windows and unix?

-- 
David Bear
College of Public Programs/ASU
Mail Code 0803


More information about the samba-technical mailing list