My Oracle Support Banner

Force the Samba Client Command Line not to use SMB1 Without Changing Configuration Files (Doc ID 2772424.1)

Last updated on OCTOBER 20, 2022

Applies to:

Linux OS - Version Oracle Linux 7.0 and later
Linux x86-64


Samba allows Linux and Microsoft Windows systems to interoperate using the SMB/CIFS protocols, such as for Linux systems to access and print from Windows based file and print servers. Different versions of Windows support differing versions of the SMB protocol (SMB1, SMB2, SMB3) and enforce the use of specific minimum SMB protocol versions. Similarly, different versions of Linux use differing SMB protocol versions by default. Depending on which Linux/samba version and Windows Server version are used, Samba connectivity issues may occur due to incompatible SMB protocols version being used.

The SMB1 is an old version with some security issues and still enabled in some servers. This document describes how to ensure the Samba client does not use the SMB1 and uses SMB2 or higher protocol version without modifying its configuration file.


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.