smbfs and /etc/fstab

Arne Henningsen ahenningsen at
Mon Apr 5 11:58:51 GMT 2004


I have got the same problem, since I upgraded from SuSE 8.x to SuSE 9.0.
In /var/log/messages I found following error message: 
   kernel: smbfs: Unrecognized mount option noexec

The option "noexec" seems to be somehow linked to the option "user". If I 
delete the option "user" in /etc/fstab,  there is no error message and *root* 
can mount the share with "mount /mnt/xxx", but a normal user cannot. 
However, I want that also normal users can mount the share.

Any ideas?


On Monday 05 April 2004, Uwe Falke wrote:
> I have the following problem: 
> trying to mount a windows share automatically using the following line in
> /etc/fstab: 
> //UserUOL/C     /mnt/xxx    smbfs  \
> ro,user,auto,ip=nnn.nnn.nnn.nnn,credentials=xxx     0 0
> gives an error and the message
> # mount /mnt/xxx
> mount error: Invalid argument
> Please refer to the smbmnt(8) manual page
> smbmnt failed: 255
> #
> on a recent SuSE9.0 installation using the smbmount from samba 2.2.8a as on
> the SuSE distribution.
> On another computer (the 2.2.6 version, also compiled by SuSE, is used
> there) the same thing runs fine.
> In each case, direct invocation of smbmount a la 
> smbmount //UserUOL/C /mnt/xxx -o ip=nnn.nnn.nnn.nnn,credentials=/etc/xxx
> does work.
> man 8 smbmnt says only, that the program is invoked by smbmount, not
> directly by the user. smbmnt is also 2.2.8s-SuSE.
> Any ideas? Has anything related changed in Samba, or is this caused possibly
> by SuSE?
> Thanx
> Uwe

More information about the smb-clients mailing list