Open In App

Introduction to Microsoft SMB; A network file sharing protocol

SMB Protocol

SMB protocol was designed by the Microsoft for direct file sharing on the local area network.



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

References: Microsoft SMB Protocol and CIFS Protocol

Article Tags :