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.
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:
"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");
pr_warn("No dialect specified on mount. Default has changed to "
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.