Server Block Message (SMB) Protocol (original) (raw)

Last Updated : 24 Mar, 2026

SMB protocol is an application-layer network protocol. It follows client-server architecture whhere client system requests access to files available on the remote server.

SBM Dialects

It is a specific version of the SBM protocol. Various dialects define how mesages are structured and communication between client and server occurs.

NetBIOS Support in SMB

In earlier implementations, SMB relied on NetBIOS (Network Basic Input/Output System) for communication.

Implementation of SMB Protocol

The open-source software called SAMBA that can run best on UNIX environment and able to communicate with Microsoft Window's Clients.

SAMBA Installation/Configuration

**On Terminal

sudo apt update
sudo apt install samba

samba

SAMBA

Now check the location of the installed files

whereis samaba

whereis samba

whereis samba

Now create directory in home/

**Example:

mkdir sambashare

Now Configure the SAMBA Files Add the given below content in /etc/samba/samba.conf

[sambashare]
path=(Directory Path)
readonly = no
browsable = yes

Restart the smbd daemon by

sudo samba daemon smbd
sudo service smbd restart

service smbd restart

service smbd restart

NFS Systems are **more specific to LINUX/UNIX environment, there is an application layer protocol called NFS which provides a file sharing solution in cross-platform environment. Some common uses of NFS are: