One of the most asked features for Samba is a graphical user interface to help with configuration and management, there are now several GUI interfaces to Samba available, one of these tools is samba server configuration tool.
“The Samba Server Configuration Tool is a graphical interface for managing Samba shares, users, and basic server settings. It modifies the configuration files in the /etc/samba/ directory. Any changes to these files not made using the application are preserved.”
In our previous post we showed you how to configure samba via command line, today we will see together how to configure samba using a graphical interface in Ubuntu
First thing we need to do is to install samba, go to Software center in Ubuntu and search for samba then install the package. If you want to install it via terminal then copy this command :
sudo apt-get install samba samba-common
Installing Samba Server configuration Tool:
Now install the graphical interface System-config samba
sudo apt-get install system-config-samba
Configuration of samba using a graphical interface:
Now we will try for example to share the directory /home/pirat9/share folder to do that,
First open GUI samba server configuration tool by going to System–> Administration–>Samba
Add the folder you want to share and setup the permissions access.
Now right click on the folder directory you want to share and open the share options
Then select share this folder
If you want to setup folder access permissions, right click on the folder and open properties (See screenshot bellow)
If you want to add a password to the user: open a terminal and type the command :
sudo smbpasswd -a pirat9
and then type your password.
Now the configuration is done.
Now lets try to check if we can for example connect from a windows machine. To do that
In a windows machine go to start –>Run and type :
ip or hostname
You will be asked to insert the user and password
Check the share folder
And is done.