Re: smbmount issues (related to CIFS?)



On Jan 31, 2008 12:14 AM, Kent West <westk@xxxxxxx> wrote:
On the machine having the 2.6.22 kernel, I can not. Here's the error:

westk@westek:~$ smbmount //faculty/web netShares/web/
Password:
mount error 2 = No such file or directory
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)


This used to work on this box, until a few months (weeks?) ago (I'm just
now getting around to working on the problem).

Both boxes run Sid.

If you have a "helpful" ISP, such as Verizon, then it's going to
resolve "faculty" to its search service, which isn't what you want.
With smbfs, you could specify

name resolve order = lmhosts wins bcast

to avoid the DNS lookup. With cifs, you can't, since it doesn't yet
respect smb.conf. However, you can install winbind and edit
/etc/nsswitch.conf, setting the hosts spec to:

hosts: files wins dns

That worked like a charm for me, with thanks to Steve Langasek (vorlon).

--
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com
http://36pints.blogspot.com


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Eeek?! smbmount is deprecated?!
    ... mount error 112 = Host is down ... Refer to the mount.cifsmanual page ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • RE: Where is bsdnews.com?
    ... I want to refer to it for a project I am working on, ... To unsubscribe, ... Andras Kende ...
    (freebsd-questions)
  • Re: Making use of the default printer
    ... I've setup one of my printers to be "Default Printer", ... seems you refer to CUPS... ... lpr will be using the "Default Printer", but this is what I get: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • The Nature of the Beast
    ... I refer to Leo Van de Pas announcement that he is ... obliged to unsubscribe from Gen Med. ... " I just got sick and tired of having to delete post ...
    (soc.genealogy.medieval)