Windows NT and Unix systems have always been designed to coexist in both business and home environments. If we do not want to give up to be able to share our files between the two systems, We must resort to protocols that allow both systems to be understood. This is where it arises Samba and provides us with mechanisms for the two environments to share their resources.
This little guide will teach you how to to install and configure Samba on Ubuntu and how the GUI greatly facilitates its configuration.
What is Samba
Samba emerged in 1991 when its programmer, Andrew Tridgell, developed a server program that allowed file sharing within a local network from the particularly unknown DEC protocol, from the company Digital Pathworks. This application, which would later give rise to the well-known Samba system, had to be renamed from SMB as that name already existed and was owned by another company.
Samba is now a standard where Microsoft itself has come to contribute through several RFCs. But what allows us to really do Samba:
- Features of a Windows NT server without paying the price of a license.
- Provide a common means of exchanging files and directories between Windows NT and Unix systems.
- Printer sharing between Windows and Unix clients.
If these aspects have convinced you, keep reading and setting them up within your system.
Installing Samba on Ubuntu
Most distributions provide easy mechanisms to implement Samba on the system, by installing packages and some management GUI, but if you find this task difficult, we provide a script that will help you in the task:
sudo apt-get install samba system-config-samba
From this moment, within the section system you will see a Samba icon which will allow us, by previously entering the default password of the application, to add new folders to share on our system. The cross icon is used for add folders; the properties button allows us adjust permissions or provide a description in the folder, among other things; and the one in the trash, as its name suggests, will delete the share (But not the folder).
the procedure you have to follow is simple, first add a cover to the Samba environment to share and then adjust, using the properties button, the access permission for all users. Although the settings can be fine-tuned to provide security to the system, we recommend that you take an easy route as, in the end, Samba seeks sharing without further ado.