SMB can also communicate with any server program that is set up to receive an SMB client request. SMB is a fabric protocol that is used by Software-defined Data Center (SDDC) computing technologies, such as Storage Spaces Direct, Storage Replica. For more information, see Windows Server software-defined datacenter. The SMB protocol does allow multiple clients to open the same file at the same time, but they need to cooperate when doing so. This is controlled by the set of SMB2ShareAccess values that are passed to the open file calls. When this set is empty, the SMB client requests exclusive access to the file. SMB client is a computer that makes the connection to a shared resource and SMB server is a computer that has that shared resource. The SMB cache is very useful in most cases. For example, imagine a user accessing their files on a file server. You want a samba client. I am sure you will find many explanations of such online if you search ' linux samba client', although of course some of them will actually be about about using a client to access a share on a linux box rather than the other way around. Feb 26, 2021 The Server Message Block (SMB) Protocol is a network file sharing protocol, and as implemented in Microsoft Windows is known as Microsoft SMB Protocol. The set of message packets that defines a particular version of the protocol is called a dialect.
This option is used by the programs in the Samba suite to determine what naming services and in what order to resolve host names to IP addresses. The option takes a space-separated string of different name resolution options.
The options are :'lmhosts', 'host', 'wins' and 'bcast'. They cause names to be resolved as follows:
lmhosts
: Lookup an IP address in the Samba lmhosts file. If the line in lmhosts has no name type attached to the NetBIOS name (see the lmhosts(5) for details) then any name type matches for lookup.
host
: Do a standard host name to IP address resolution, using the system /etc/hosts
, NIS, or DNS lookups. This method of name resolution is operating system dependent, for instance on IRIX or Solaris this may be controlled by the /etc/nsswitch.conf
file). Note that this method is only used if the NetBIOS name type being queried is the 0x20 (server) name type, otherwise it is ignored.
wins
: Query a name with the IP address listed in the wins server
parameter. If no WINS server has been specified this method will be ignored.
bcast
: Do a broadcast on each of the known local interfaces listed in the interfaces
parameter. This is the least reliable of the name resolution methods as it depends on the target host being on a locally connected subnet.
If this parameter is not set then the name resolve order defined in the smb.conf(5) file parameter (name resolve order) will be used.
The default order is lmhosts, host, wins, bcast and without this parameter or any entry in the name resolve order
parameter of the smb.conf(5) file the name resolution methods will be attempted in this order.