[linux-cifs-client] TCP Name not found when mounting CIFS share

Christopher R. Hertel crh at ubiqx.mn.org
Mon Jan 10 19:23:23 GMT 2005


On Mon, Jan 10, 2005 at 05:00:47PM +0000, BJ Quinn wrote:
> When I try to mount a CIFS share, for example by using the command...
> 
> mount -t cifs //foxserver2/database /test
> 
> I get the following error:
> 
> mount error: could not find target server. TCP name foxserver2/database not
> found  rc = 16720
> 
> When I try:
> 
> mount -t smbfs //foxserver2/database /test       or       mount -t cifs
> //192.168.1.6/database /test
> 
> 
> ... it works.  We don't have a DNS server, so it looks like CIFS can't find
> the name of the other server.  

Sounds as though the cifs mounting software doesn't do NetBIOS name 
lookups.  There may be a workaround using nsswitch...

Chris -)-----

-- 
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
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 linux-cifs-client mailing list