Package: smbfs Version: 3.0.14a-3 Severity: normal When mount.cifs takes a UNC name such as "//server/share" and tries to find the host "server", it uses gethostbyname() on "server". This works fine if CIFS hosts can be resolved by DNS, but when the name needs to be resolved by another means, it doesn't work. Since smbfs is part of the samba suite, one expects that it would try to resolve hosts the same way a Samba server (or smbclient, etc.) on the same machine is configured to resolve them (i.e., via the smb.conf parameter "name resolve order").
Even if it doesn't read and heed smb.conf, it could at least try to query a WINS server running on the same host (the equiv. of "nmblookup -R -U localhost server"). In any case, the way mount.cifs tries to resolve a UNC name ought to be mentioned in its manual page (which it is not). Finally, the error message when mount.cifs doesn't resolve a host with gethostbyname() is misleading. It says "TCP name server/share not found". What hasn't been found is not "server/share" but just "server". And what's a "TCP name", anyway? Something like "system cannot resolve the name `server' or "gethostbyname() cannot resolve `server'" would be more informative and helpful. -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.8-beth.14 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages smbfs depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libcomerr2 1.37-2sarge1 common error description library ii libkrb53 1.3.6-2 MIT Kerberos runtime libraries ii libldap2 2.1.30-8 OpenLDAP libraries ii netbase 4.21 Basic TCP/IP networking system ii samba-common 3.0.14a-3 Samba common files used by both th -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]