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

Steve Langasek vorlon at debian.org
Wed Dec 19 00:13:40 UTC 2007


Hi Julian,

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.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org





More information about the Pkg-samba-maint mailing list