Re: Did the syntax for a samba /etc/fstab entry change?
On Wed, Apr 2, 2008 at 10:50 PM, Tom Epperly <tepperly@gmail.com> wrote:
> I have the following line in my /etc/fstab:
>
> //windmach/My\040Pictures /mnt/PictureArchive smbfs
> noauto,user,username=Userone,rw,uid=uone,gid=uone 0 3
...
> I run Debian unstable. I've checked the man pages and README files in
> /usr/share/doc/samba-docs, and I can't find any indication that the
> syntax has changed. Does anyone have any suggestions? Please Cc me on
> replies.
smbfs has been deprecated in favor of cifs. Depending on your
provider, you may be able to replace "smbfs" with "cifs" and have
everything work. If, like me, you have a "helpful" ISP that treats
unresolvable domains as searches, you'll never hit the local wins
lookup for your SMB server. What worked for me in this case is to
have a line like the following in /etc/nsswitch.conf:
hosts: files wins mdns4_minimal [NOTFOUND=return] dns mdns4
Note that this means all hostname resolution will check for wins
entries before dns. Doing the equivalent in the samba configs doesn't
currently work for cifs.
--
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com
http://36pints.blogspot.com
Reply to: