RE: [SLE] cifs mounts
- From: Roger Oberholtzer <roger@xxxxxx>
- Date: Fri, 30 Jun 2006 17:56:02 +0200
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.Thank you for your help Roger. That fixed the octal problem.
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.
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
- References:
- RE: [SLE] cifs mounts
- From: James D. Parra
- RE: [SLE] cifs mounts
- Prev by Date: Re: [SLE] removing a damaged file
- Next by Date: RE: [SLE] cifs mounts
- Previous by thread: RE: [SLE] cifs mounts
- Next by thread: RE: [SLE] cifs mounts
- Index(es):
Relevant Pages
|
|