SMB

File sharing ..

The Server Message Block (SMB) protocol is a network file sharing protocol that allows applications on a computer to read and write to files and to request services from server programs in a computer network. The SMB protocol can be used on top of its TCP/IP protocol or other network protocols

Objective of this workshop is to:

• install & configure a basic Samba server.

• share user home directories as well as provide read-write anonymous access to selected directory.

Samba is a suite of applications that implements the Server Message Block (SMB) protocol. Many operating systems, including Microsoft Windows, use the SMB protocol for client-server networking. Samba enables Linux / Unix machines to communicate with Windows machines in a network. Samba is open source software.

The following section is for Reference only.

Samaba has been installed and configured on both Windows & Linux servers.

x

  1. Double-click the Samba executable file that you downloaded in Step 1.

  2. In the Samba installation wizard, click Next to proceed.

  3. Accept the license agreement and click Next.

  4. Choose the destination folder where you want to install Samba and click Next.

  5. Choose the components that you want to install (we recommend selecting all components) and click Next.

  6. Configure the Samba Server settings (e.g., global workgroup, security mode, etc.) as per your requirements and click Next.

  7. Choose a password for the administrative account that you will use to manage the Samba server and click Next.

  8. Review the installation summary and click Next to start the installation process.

  9. After the installation is complete, click Finish to close the installer.

x

x

  1. Open the Samba configuration file (smb.conf) located in the installation directory.

  2. Edit the smb.conf file to configure the necessary settings (e.g., share directories, users and groups, etc.). You can refer to the Samba documentation for more information on configuring smb.conf.

  3. Save the changes to the smb.conf file.

x

  1. Press the Windows key + R to open the Run dialog box.

  2. Type services.msc and click OK to open the Services Manager window.

  3. Find the Samba service (named "SMB" or "Samba") in the list of services.

  4. Right-click the Samba service and choose Start.

  5. Wait for a few seconds until the Samba service starts.

x

  1. Open the File Explorer on your Windows 10 system.

  2. In the address bar, type \localhost or \[your-computer-name] and press Enter.

  3. You will be prompted to enter your Samba username and password. Enter the credentials that you specified in Step 2.

  4. You should now see a list of shared directories on your Samba server. Double-click the directories to access their contents.

x

Last updated