Comment 6 for bug 1746482

Revision history for this message
Dariusz Gadomski (dgadomski) wrote : Re: mount.cifs stopped working with protocol version != 1.0

Looks like I've been mislead by the man page of mount.cifs and linux/fs/cifs/connect.c which state:

man mount.cifs:
vers=
           SMB protocol version. Allowed values are:

           · 1.0 - The classic CIFS/SMBv1 protocol. This is the default.

4.13 kernel code:
pr_warn("No dialect specified on mount. Default has changed to "
                        "a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS "
                        "(SMB1). To use the less secure SMB1 dialect to access "
                        "old servers which do not support SMB3 (or SMB2.1) specify vers=1.0"
                        " on mount.\n");

So looks like I need to explicitly apply the version number to mount.cifs argument to have consistent results.

More over sec=ntlm is needed in smb.conf and mount.cifs cmdline.

Updating the description.