Oracle Linux: After Upgrading To OL 7.6, CIFS Shares Fail To Mount Without The "vers=XXX" Mount Option
(Doc ID 2505195.1)
Last updated on FEBRUARY 02, 2022
Applies to:Linux OS - Version Oracle Linux 7.6 and later
Information in this document applies to any platform.
After upgrading to OL 7.6, cannot mount CIFS share when "vers=default" is used or version is not specified.
Patched the Server.
Package libsmbclient has been updated from 4.7.1-9.el7_5.x86_64 to 4.8.3-4.el7.x86_64
Logs from /var/log/messages
Jan 21 16:16:41 <HOST> kernel: 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. Jan 21 16:16:41 <HOST> kernel: CIFS VFS: protocol revalidation - security settings mismatch Jan 21 16:16:41 <HOST> kernel: CIFS VFS: failed to connect to IPC (rc=-5) Jan 21 16:16:41 <HOST> kernel: CIFS VFS: protocol revalidation - security settings mismatch Jan 21 16:16:41 <HOST> kernel: CIFS VFS: session ffff9f51670be800 has no tcon available for a dfs referral request Jan 21 16:16:41 <HOST> kernel: CIFS VFS: cifs_mount failed w/return code = -5
Error while mounting manually
[root@<HOST># mount /shares/mnt mount error(5): Input/output error
CIFS Parameters “rw,domain=xxxxxxx,file_mode=0777,dir_mode=0777,uid=74581,gid=9596215,username=oracle1,password=xxxxxxx”
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document