For those new to Samba, the configuration of this provider of seamless file and print services to SMB/CIFS clients can sometimes be a nightmare. Not only are you dealing with tricky configuration files, you also have to worry about getting users added to encrypted password files. Of course if you want to tackle this the old-school way you can take a read of my article "Set up your new Ubuntu server as a Samba server". But for those that prefer to do things the GUI way, there are plenty of tools available for you as well.
One such tool is the gadmin-samba tool from the Gadmintools suite of GUI Linux administration tools. The Gadmintools suite allows you to easily setup Samba with the help of a well thought-out graphical interface. With this tool you should be able to have Samba up and running in no time. Of course, there is a bit of installation to tackle at first, but even that is simple. So, without further adieu, let's get to work.
You can do this two ways:
You will also need to make sure Samba is installed as well as winbind. So open up Synaptic and search for the following:
Mark each of those for installation and they should pick up all of the necessary dependencies. Once installed, you are ready to rock.
To start the tool go to the System Tools sub-menu of the Applications menu and select Gadmin Samba. You will have to enter your sudo (or root user - depending upon your distribution) password. The main window will open with no configuration settings filled in (see Figure 1).
I will go through the setup one tab at a time.
Although there are numerous settings to configure, you really only need configure a few of these to get a basic Samba server up and running.
That's it for this tab. Now we move on to the users tab.
The Users tab is exactly what you would expect - a means to set up users for your Samba share. This section takes the place of having to use the smbpasswd command. From this tab (see Figure 2) you will need to fill out:
After you fill out this information click the Apply button. You are now ready to move on to the Shares tab.
When you click on the Shares tab you might be surprised to see some default values in place. If not, don't worry, this is simple. Just configure the following:
Once you have configured your users, you can click on the Configuration tab to see what your /etc/samba/smb.conf file will look like and click the Save button should it suffice. Once you have saved your configuration file, click the Activate button and Samba will up and running, ready for your users to connect.
The Gadmintools Samba GUI has taken the complexity out of setting up a Samba server. Give this tool a try and see if you can't get your Samba server up and running faster and with less hair pulling than you ever did with your manual setups.
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.