Re: Samba vs NFS

Jacob Bresciani <[email protected]>
Newsgroups gmane.comp.security.linux
Message-ID <[email protected]>
SMB shares can be made to remount on boot by adding a line to fstab the
in a similar to adding lines for nfs shares to make them survive a
reboot.

i.e
//pc001/mp3s /import/pc001/mp3s  smbfs
nosuid,nodev,credentials=/etc/auth.smb,uid=<default
owner>,fmask=600,dmask=700 0 0

where the /etc/auth.smb is a root owned file chmoded 400 and contains
the lines:

username=<your username>
password=<your password>

Although this has the obvious problems of:
1.) everything is owned by a preset owner.
2.) acl's are ignored for the most part.

On Tue, 2005-02-22 at 09:13 -0500, Randy Williams wrote:
> Also be advised that (as far as I know), 
> *nix clients can only temporarily mount a Samba windows share (it
> will 
> no survive a reboot).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.