https://www.linuxquestions.org/question ... ost5772016
With CentOS 7.4 using its stock kernel "kernel-3.10.0-693.2.2.el7" I could successfully mount a Windows 10 Pro version 1703 share with a command like this:
Code: Select all
mount -t cifs //127.1.2.3/myshare /mnt/mymount -o user=william,pass=gates,vers=3.0 -rw
Code: Select all
mount error(5): Input/output error
Code: Select all
smbclient //127.1.2.3/myshare -U william%gates -m SMB3
Code: Select all
[root@novell bill]# dmesg
[ 7658.616374] CIFS VFS: validate protocol negotiate failed: -11
[ 7658.616563] CIFS VFS: cifs_mount failed w/return code = -5
https://bugzilla.redhat.com/show_bug.cgi?id=1502606
which had the workaround. Using version 2.1 instead of 3.0 solved the problem. This is the mount command that now works for me:
Code: Select all
mount -t cifs //127.1.2.3/myshare /mnt/mymount -o user=william,pass=gates,vers=2.1 -rw