Bug ID 936900
Summary mount cifs vers option => invalid argument
Classification openSUSE
Product openSUSE 13.1
Version Final
Hardware x86-64
OS openSUSE 13.1
Status NEW
Severity Major
Priority P5 - None
Component Samba
Assignee samba-maintainers@SuSE.de
Reporter hzhr+os@mailbox.org
QA Contact samba-maintainers@SuSE.de
Found By ---
Blocker ---

Since our Windows server denies SMB protocol 1, I want to user mount.cifs with
a higher protocol. Therefore, I intended to use the option "vers" as specified
in the man-page. However, using "vers" is denied with "invalid argument"

mount -t cifs //host/share /home/user/mountpoint -o vers=2.0
mount error(22): Invalid argument

We tested on openSuSE 13.1, 13.2 as well as Tumbleweed and additionally on 13.1
with the package from network:samba:STABLE. On all these we received "invalid
argument". On an Ubuntu Live-CD it is possible to pass this option.

Accessing the share using Dolphin is possible after adding in
/etc/samba/smb.conf "client max protocol = SMB3" to the global section. Also
smbclient with -m SMB2 works.


You are receiving this mail because: