Introduction to Microsoft SMB; A network file sharing protocol
Last Updated :
11 Jul, 2025
SMB Protocol
SMB protocol was designed by the Microsoft for direct file sharing on the local area network.
- The set of message packets which defines the version of the protocol called SMB dialect.
- It's a client-server model which is not limited to the file sharing but can also be used for sharing devices printers, serial printers and other resources available on local area network.
- SMB service works on the well-defined port on 445 over the TCP/IP stack.
- The set of messages called the dialect implements CIFS which is Common Internet File System.
- Some functionalities of SMB protocol are included in it like network browsing, printing over a LAN, directory access.
In case of lower level protocol for support, SMB uses NetBIOS which is Network Basic Input/Output System. This was designed by the IBM that allows applications running on a different computer system to communicate with a LAN which is a base of SMB protocol. NetBIOS API can rely on Layer 3 protocol like UDP port 137 and 138.
Software Application for 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 so that SAMBA is able to provide the sharing service by employing this common internet file system. In general words, SAMBA server allows resource sharing between a system running Microsoft OS and systems running UNIX.
SAMBA INSTALLATION / CONFIGURATION
On Terminal
sudo apt update
sudo apt install samba
SAMBA
Now check the location of the installed files
whereis samaba
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
NFS System: Network File Sharing System
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 ways in which we can use NFS are
- Migrating applications from one operating system to another by storing the data on shares accessible through both as a main NFS protocol.
- Some famous applications like TeamViewer, ShareIT and many other uses this protocol from remote access and remote file sharing.
References:
Microsoft SMB Protocol and CIFS Protocol
Similar Reads
Protocol and Standard in Computer Networks Protocols and standards are important in computer networks. They are like the rules and guidelines that allow different devices and systems to communicate and work together smoothly. Protocols define how data is sent, received, and processed, while standards ensure that various technologies are comp
9 min read
Types of Network Attached Storage Implementations Network-attached storage (NAS) is a file-based storage architecture that makes stored data more accessible to networked devices means multiple users or client devices retrieve data from a single storage system. NAS Implementations There are two ways to implement NAS Integrated NAS Gateway NASAdvanta
2 min read
Principles of Network Applications The Principles of Network Applications are fundamental concepts that govern the design and development of applications that run on a computer network. These principles encompass several key aspects of network applications, including: Network Application ArchitecturesProcesses CommunicatingThe Interf
7 min read
Difference between Client-Server and Peer-to-Peer Network In the world of network architecture, two fundamental models are widely utilized to structure data exchange and resource sharing. For the purpose of this discussion, two types of networks are available; the Client-Server Network and the Peer-to-Peer Network. All the models have their strengths, weak
4 min read
Difference between Client-Server and Peer-to-Peer Network In the world of network architecture, two fundamental models are widely utilized to structure data exchange and resource sharing. For the purpose of this discussion, two types of networks are available; the Client-Server Network and the Peer-to-Peer Network. All the models have their strengths, weak
4 min read
Difference between Client-Server and Peer-to-Peer Network In the world of network architecture, two fundamental models are widely utilized to structure data exchange and resource sharing. For the purpose of this discussion, two types of networks are available; the Client-Server Network and the Peer-to-Peer Network. All the models have their strengths, weak
4 min read