

Samba a free software re-implementation of the SMB/CIFS networking protocol, and was originally developed by Andrew Tridgell. It’s available for all major platforms and can work tremendously nice in all of them. Samba is the software package that allows you to share files, documents and printers across a network, irrespective of whether you are using Linux, Windows and Mac.

Before we go on seeing how to set up Samba server for local network sharing in Ubuntu, let’s first have a quick look on what actually is Samba. Actually, we did use Samba in the previous part of this tutorial. To do this, we need to configure Samba server. Share the folders on local network in Ubuntu with password protection We’ll see that in the second part of the tutorial. This is where Samba server comes in picture. What if you want only certain people to access it? I mean, devices on your home network should be generally known devices. In normal condition, you should prefer this. This provides access to anyone on your local network to access these files. Now, you can access the shared folder in “This PC” or “My Computer” under “Network Location” section. Now you will see this screen, just click next. Now add the location in the following manner: Entering Server Address In my case, IP address of Linux machine is 192.168.0.102 and folder I’ve shared is share. IP address of Linux machine by entering ip a command. Now it’s time to enter server address and the name of folder which we’ve shared. Adding New ConnectionĬlick on “next” button. On Windows, right click on “This PC” or “My Computer”, and select “Add a new connection”. Now access the shared folder on Windows machine.

To stop sharing a folder, just uncheck the Share this folder option. You’ll see that the folder icon have been changed to show that it has been shared.
