Bug 118635

Summary: smbfs doesn't work with additional parameters in fstab
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Leo Hatvani <c2ubia4hl4>
Component: NetworkAssignee: The 'Opening Windows to a Wider World' guys <samba-maintainers>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: RC 1   
Target Milestone: ---   
Hardware: i686   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Leo Hatvani 2005-09-23 18:58:00 UTC
I made an entry in fstab that looks like

//192.168.1.2/x$    /mnt/x    smbfs      noauto,username=administrator 0 0

and when I try to mount /mnt/x as root, following error is shown:

mount error: Invalid argument
Please refer to the smbmnt(8) manual page
smbmnt failed: 255

In dmesg listing I can find following reason:

smbfs: Unrecognized mount option noauto

Same behaviour is shown with other options instead noauto that aren't used by
smbfs. Without the noauto option everything works perfectly. 

While searching for resolution of the bug I stumbled upon information that it is
probably caused by buggy mount.smbfs file currently located in /sbin/.
Comment 1 Christoph Lechleitner 2005-10-21 11:23:46 UTC
The bug is still there in 10.0 final release (boxed version).
Comment 2 Lars Müller 2006-03-15 13:11:28 UTC
Can you please try cifs instead of smbfs?  And reopen the bug if it is also valid for cifs?

We will not fix this for smbfs.  smbfs is unmaintained code.  cifs is the successor.