deprecating smbmount ?

Felix Miata mrmazda at ij.net
Thu Jul 27 05:22:28 GMT 2006


On 06/07/26 21:06 (GMT-0700) Jeremy Allison apparently typed:

> I just looked at the code. cifsfs seems already to have
> lanman support. Guenter, have you actually *tested* cifsfs
> against OS/2 ? I wouldn't be suprised if it works fine.

Doesn't work for me:
SuSE 10.1:
# cat /etc/fstab | grep cifs
//p-t18/G /smbmnt/p-t18/G cifs
ro,fmask=664,credentials=/etc/samba/p-t18.cred,noauto 0 0
# rpm -qa | grep samba-3
samba-3.0.22-13.18
kdebase3-samba-3.5.1-69
# uname -r
2.6.16.21-0.13-default
# mount //p-t18/G
WARNING: 'fmask' not expressed in octal.
WARNING: CIFS mount option 'fmask' is deprecated. Use 'file_mode' instead.
mount error 112 = Host is down
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

Mandriva Cooker:
# cat /etc/fstab | grep cifs
//p-t18/G /smbmnt/p-t18/G cifs
ro,fmask=664,credentials=/etc/samba/p-t18.cred,noauto 0 0
# rpm -qa | grep samba
samba-common-3.0.23-2mdv2007.0
samba-client-3.0.23-2mdv2007.0
samba-server-3.0.23-2mdv2007.0
# uname -r
2.6.16-1mdk
# mount //p-t18/G
WARNING: 'fmask' not expressed in octal.
WARNING: CIFS mount option 'fmask' is deprecated. Use 'file_mode' instead.
mount error 112 = Host is down
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
# man mount.cifs
No manual entry for mount.cifs

The host is not down. My SuSE 10.0 server has that share mounted via a
bash alias as follows:

smbmount //p-t18/G /smbmnt/p-t18/G -o guest,ro,dmask=777,fmask=664

Those fstab entries, with s/cifs/smbfs/, are the same that worked a few
samba 3 versions ago and with samba v2.
-- 
"If you confess with your mouth, 'Jesus is Lord', and believe in
your heart that God raised him from the dead, you will be saved."
						Romans 10:9 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://mrmazda.no-ip.com/


More information about the samba-technical mailing list