- Web Burning Blog - http://lnx.web-burning.it -

Configure Samba with Gadmin-Samba

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 [1]“. 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 [2] from the Gadmintools [3] 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.

Installation

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.

Running Gadmin-Samba

[4]

Figure 1

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.

Server settings

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.

Users

[5]

Figure 2

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.

Shares

[6]

Figure 3

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.

Final thoughts

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.

Continua a leggere – Original Link: Configure Samba with Gadmin-Samba [7]

Technorati Tags: advice [8], Linux [9], Open Source [10], samba [11], Security [12], ubuntu server [13], user [14], Windows [15]