[Pkg-samba-maint] Bug#513483: mount.cifs name resolution oddity

Graham graham.knap at gmail.com
Thu Jan 29 14:11:00 UTC 2009


Package: smbfs
Version: 2:3.2.5-4

I'm having a strange name resolution problem with a cifs mount, which
I can best demonstrate using smbclient...

# host mywinsrv
mywinsrv.mydomain.net    A    10.254.53.10

That's the correct IP address...

# smbclient -W mydomain -U myusername //mywinsrv/myshare
timeout connecting to 10.253.53.10:445
timeout connecting to 10.253.53.10:139
Connection to mywinsrv failed (Error NT_STATUS_ACCESS_DENIED)

That's the wrong IP address!

# smbclient -W mydomain -U myusername //10.254.53.10/myshare
Enter myusername's password:
Domain=[MYDOMAIN] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
smb: \>

Specifying an IP address instead of a hostname works.

Any idea what's going on here?

-- graham





More information about the Pkg-samba-maint mailing list