Business IT - Technology for your business

No. 1 Story

Telstra adds one million mobile services, but Sensis plummets

Telstra has revealed the addition of almost one million new mobile services in the six months to December 2011, but Sensis revenues plummeted 24 percent in 12 months.

read more

The ever cunning Linux dances the Samba

Business IT - Open Source

It’s now time to get Samba up and running. Fire up the package management tool for your distribution. For instance, under Ubuntu you might click System, Administration, and Synaptic Package Manager. Under Fedora you would click Applications then Add/Remove Software. You might also use other means like the command sudo apt-get install samba smbfs.

If you use the apt-get command above, Samba will install automatically. If you are using a GUI tool, locate the Samba package and select it, then instruct the tool to download and install it.

Note importantly that if you have SELinux operating you will need to update its configuration item so that it allows Samba to share files and directories.

You must configure Samba before it actually does anything. Call up the freshly-installed Samba server settings window. Click the Preferences, Server settings menu. You will be prompted to give the name of your Windows workgroup along with an optional description. Click OK to apply your changes and close the dialog box.

Next, start the Linux service configuration window. Here, you can control what runs when the system boots as well as start or stop any individual service. You want to do two things here: firstly, start Samba running right now, and secondly have it auto-start when your computer kicks in.

Find the smb service item; click Start and select the checkbox next to it. The smb service actually consists of two separate services. The first of these is smbd, which is a daemon process that handles client SMB connections to your system, and the second is nmbd, which is a daemon process to control the advertising of shared devices over your network.

By now, Samba is loaded and running. Unfortunately it’s still not usable yet; you now need to open the Firewall applet. Here, you want to have your firewall permit SMB traffic to enter your system. Locate the Samba entry in your firewall and mark it as a trusted service. Linux will now allow SMB traffic from network clients to successfully make it through to your computer.
There is now one final step: although remote computers can send SMB traffic, nobody has yet been authorised to do so. Edit the file /etc/samba/smb.conf using your favourite text editor; remember to run it using the sudo command or from within a superuser account, because you will need to be able to write modifications back to the file system.

The modifications you wish to make will provide granular control over who may print. There’s two real options: one is to make unique user accounts for each person on your network, or alternatively, if you are just enabling a home printer in a family environment you might simply permit anyone to print to the shared printer. Either way, you do it through /etc/samba/smb.conf.
To let just anyone print, edit that file, and locate the [printers] section. Find the commented-out line “; guest ok = no” and change it to “guest ok = yes”. (Note, the semicolon has been removed as well as the no changing to a yes.) Now your network guests may print without authentication required.



- sponsored feature -

The Death of Traditional BI: What’s Next?

How to Make Business Discovery Work for Your Business IP PABX BUYING GUIDE

Business Discovery takes its cues from consumer apps. Like Google, it encourages us- ers to hunt for and explore data without worrying about or even noticing the underly- ing technology. Their entire experience is working within an intuitive interface to get real-time, self-service results with only minimal training. ...more