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: Re: deprecated smbmount --> mount.cifs
    ... mount.cifs kernel mount options ... mount error 5 = Input/output error ... Refer to the mount.cifsmanual page ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: PPP / ADSL / demand / GUI prompt question
    ... father does when he uses "DSL" to refer to cable modem, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: OT: Americans or Usonians
    ... (Does refer more to non-Latinos or ... it could also mean someone from North America. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • 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)