called name not present

Christopher R. Hertel crh at ubiqx.mn.org
Wed Feb 5 18:35:26 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?

Richard is being polite.  :)

That definitley shows that you've connected to a W2K machine.  The best 
guess is that the name NPCENTER is in use by both machines, and that the 
W2K system is answering first when the query goes out (either that, or you 
are using WINS and the W2K system has registered that name in the NBNS 
database).

The NT_STATUS_DUPLICATE_NAME error code seems to confirm this, but I'm not 
sure.

A tcpdump trace showing ports 137 and 139 would help.

Chris -)-----

-- 
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
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org


More information about the samba-technical mailing list