Results 1 to 2 of 2

Thread: Netbios name resolution for mount -t cifs

  1. #1
    Join Date
    May 2008

    Netbios name resolution for mount -t cifs

    I'm trying to get a newly installed Ubuntu 8.04 machine on my home network. Apparently, NetBIOS name resolution is working for some parts of the samba suite and not for other parts of it. Specifically when I try to use mount,

    sudo mount -t cifs // /mnt/quark/e

    works fine, but

    sudo mount -t cifs //quark/e /mnt/quark/e

    resolves quark through dns instead of through NetBIOS broadcast as windows would, and thus gets the wrong ip address resulting in:

    mount error 111 = Connection refused

    On the other hand nmblookup gives me:

    $ nmblookup quark
    querying quark on quark<00>

    which is correct. Also, smbclient //quark/e works fine, but only after I changed /etc/samba/smb.conf to say

    name resolve order = lmhosts bcast host wins

    It seems that mount -t cifs ignores the name resolve order.

    Any ideas?

  2. #2

    Re: Netbios name resolution for mount -t cifs

    You may have figured this out by now, but read this post.

    By default Ubuntu does not resolve windows hostnames.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts