Enable Advanced File Sharing in Ubuntu 13.04 with Samba

This simple and brief tutorial is going to show you how to enable advanced file sharing in Ubuntu 13.04 over local network. Other computers in the same network can be Windows, Ubuntu Linux and others.

Install and Configure Samba Server in Ubuntu to Enable File Sharing:

1. In Ubuntu 13.04 Raring Ringtail, press Ctrl+Alt+T to open a terminal window for running commands. Then install the samba server configuration tool:

sudo apt-get install system-config-samba


Once installed, launch it in the terminal window by this command:

sudo system-config-samba

2. Go to “Preferences -> Server Settings”, type the workgroup name to match that of your LAN machines and save.


3. In order to access this Ubuntu share, you need to add a user to Samba database. Go to “Preferences -> Samba Users…”, click add a user and type in Windows Username and password. The username and password you set will be used to access to Ubuntu Shares.


4. After the server configuration, you can add a new share folder by the previous “Samba Server Configuration” window. Or, open Nautilus file browser -> right-click on a folder -> choose Share Options -> check to share the folder.

share-a-folder1 share-a-folder

5. In Addition: To make it possible to access Local Shares from this Ubuntu machine, run following command to edit the configuration file:

sudo gedit /etc/samba/smb.conf

Add the following line below the line “workgroup = workgroup-name”:

name resolve order = bcast host

to make it look like this:


To access from other computers:

  • To access from Windows computer, you need to enable “Network Discovery” by Control Panel -> Network and Internet -> Network and Sharing Center. For more, read Enable file and printer sharing in Windows
  • To access from other Ubuntu computers, re-do the steps 5.

After that, browser the Network and you’ll find the Computer name of Ubuntu 13.04 Raring.

ubuntu13-04-sharing Or ubuntu13.04-sharing

Click on it and get access to the shared folders by username and password (step 3).



Leave a Reply

Your email address will not be published. Required fields are marked *