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

Steven French sfrench at us.ibm.com
Tue Jan 11 02:17:10 GMT 2005


The cifs client does not resolve netbios names (it does send rfc1001 
netbios session initialize but does not broadcast to do netbios name 
resolution or contact a wins name server to resolve netbios names) so by 
default dns names or ip addresses are expected but there is an easy way to 
do this nonetheless - fortunately you can handle this with an nss module 
which resolves dns host name queries via wins as described in one of the 
responses to your question.


Steve French
Senior Software Engineer
Linux Technology Center - IBM Austin
phone: 512-838-2294
email: sfrench at-sign us dot ibm dot com



"Christopher R. Hertel" <crh at ubiqx.mn.org> 
Sent by: linux-cifs-client-bounces+sfrench=us.ibm.com at lists.samba.org
01/10/2005 01:23 PM

To
BJ Quinn <bj at placs.net>
cc
linux-cifs-client at lists.samba.org
Subject
Re: [linux-cifs-client] TCP Name not found when mounting CIFS share






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
_______________________________________________
linux-cifs-client mailing list
linux-cifs-client at lists.samba.org
https://lists.samba.org/mailman/listinfo/linux-cifs-client

-------------- next part --------------
HTML attachment scrubbed and removed


More information about the linux-cifs-client mailing list