[Pkg-samba-maint] Bug#456992: smbfs: mount.cifs fails with "mount error: could not find target server. TCP name ... not found"

Julian Gilbey jdg at debian.org
Wed Dec 19 07:47:34 UTC 2007


On Tue, Dec 18, 2007 at 04:13:40PM -0800, Steve Langasek wrote:
> Hi Julian,

Hi Steve!

> On Tue, Dec 18, 2007 at 10:03:57PM +0000, Julian Gilbey wrote:
> > Package: smbfs
> > Version: 3.0.28-1~lenny1
> > Severity: serious
> 
> > I have just upgraded from 3.0.27a-1 to this version, and now when I
> > try to mount my Samba partition, I get the following error:
> 
> > euclid:~ # mount -t cifs //WGS-SVR-001/RMStaff /mnt/wggs/rmstaff -o credentials=/etc/wggs.credentials,uid=jdg,gid=jdg
> > mount error: could not find target server. TCP name WGS-SVR-001/RMStaff not found
> > No ip address specified and hostname not found
> > euclid:~ # 
> 
> > Any idea why this might be the case?  I've never seen this error
> > before, and I can list the partition just fine.
> 
> > Also: smbclient --user jgi --command=dir //WGS-SVR-001/RMStaff
> > works just fine.
> 
> Is this hostname resolvable via DNS (i.e., how about "ping WGS-SVR-001"
> instead of "smbclient" as a test)?  The mount.cifs program doesn't support
> WINS-based host resolution (nor mount.smbfs, IIRC).  C.f. bug #311709.

I'll check and let you know.  But something has clearly changed
between version 3.0.27a-1 and this version, as it did work until now.
And if it is a DNS issue, then how on earth am I meant to specify the
partition to mount.cifs?!

Many thanks for the swift response.

   Julian





More information about the Pkg-samba-maint mailing list