RE: [SLE] cifs mounts



On Fri, 2006-06-30 at 06:56 -0700, James D. Parra wrote:
In /etc/fstab, I have something similar below;

<snip>
//windows_server/smbshare /mnt/smb_dir cifs
workgroup=our_group,password=xxxx,fmask=777,dmask=777,,username=someone 0
0
<snip>

Whenever I try to mount it I get the following errors;

WARNING: 'fmask' not expressed in octal.

use 0777 instead of 777

WARNING: CIFS mount option 'fmask' is deprecated. Use 'file_mode' instead.
WARNING: 'dmask' not expressed in octal.
WARNING: CIFS mount option 'dmask' is deprecated. Use 'dir_mode' instead.

... and from /var/log/messages;
Jun 29 17:02:38 server-1 kernel: CIFS: Unknown mount option fmask
Jun 29 17:02:38 server-1 kernel: CIFS: Unknown mount option dmask

I'd like to use /etc/samba/smbfstab with credentials, but I seem to mung
that up to the point that I can't mount the smbmounts.

Thank you for your help Roger. That fixed the octal problem.

However, I'd still like to use /etc/samba/smbfstab (with a 'credentials'
file) instead of /etc/fstab, but I can't get that to work. Is there a HOWTO
that you can point me to, other than the man page.

Not that I know of. I do not know that the format is like the one for
smbfs. Is it? So that the file you specify contains lines with

username = name
password = password

One pair per file. So I would imagine files like /etc/cifsusers/james,
and the like. Only readable by root.
I got this from man smbmount. As I said. I do not know if cifs is the
same.

I am currently using smbfs. Any technical reasons to use cifs instead?


Many thanks for your help.

~James

--
Roger Oberholtzer

OPQ Systems AB
Ramböll Sverige AB
Kapellgränd 7
P.O. Box 4205
SE-102 65 Stockholm, Sweden

Tel: Int +46 8-615 60 20
Fax: Int +46 8-31 42 23


--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • RE: [SLE] cifs mounts
    ... WARNING: ... CIFS mount option 'dmask' is deprecated. ...
    (SuSE)
  • RE: [SLE] cifs mounts
    ... WARNING: ... CIFS mount option 'dmask' is deprecated. ...
    (SuSE)
  • RE: [SLE] cifs mounts
    ... WARNING: CIFS mount option 'dmask' is deprecated. ... I'd like to use /etc/samba/smbfstab with credentials, ...
    (SuSE)
  • Re: [SLE] cifs mounts
    ... Can someone point me to a definitive howto on cifs mounts on Suse/Linux. ... WARNING: ... CIFS mount option 'dmask' is deprecated. ...
    (SuSE)
  • [SLE] cifs mounts
    ... WARNING: CIFS mount option 'fmask' is deprecated. ... CIFS mount option 'dmask' is deprecated. ...
    (SuSE)