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. Many thanks for your help. ~James -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
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@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
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.
Many thanks for your help.
I just tried changing 'smbfs' to 'cifs' in /etc/fstab: //mma-sql-1/data2 /mma-sql-1/data2 cifs username=x,password=x,workgroup=x,uid=me 0 0 Then I get mount error: could not find target server. TCP name mma-sql-1/data2 not found No ip address specified and hostname not found. When I set 'cifs' back to 'smbfs' it mounts ok. Odd, no? -- 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@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (2)
-
James D. Parra
-
Roger Oberholtzer