Ottawa PC Users' Group (OPCUG)


   Copyright and Usage

   Privacy Policy

   Contact Us


Tux Linux


SAMBA Sharing files with Linux

by Don Chiasson


Most home networked computers are set up to share files and printers. In Windows, this happens automagically when you click a box to say "Share files" (usually for read only). With Linux, a program called Samba does this. The name Samba comes from the protocol Windows uses, Server Message Blocks.

Configuring Samba

With Windows, the information on what happens is hidden in the registry. Samba uses a configuration file that you can edit, smb.conf and a minimal one might look like this,.

workgroup = HOME
netbios name = MYCOMPUTER
path /tmp
path = /my_shared_folder
comment = Some random files

Where is the smb.conf file?

It depends on the distribution.... It might be in /usr/local/lib. Or etc/samba. Or elsewhere.

Now that you are rolling your eyes, I must confess: there are lots of GUI options. I am running Suse, and you access it through YAST (Yet Another Set-up Tool), their standard tool, YAST Control Center -> Network Services -> Samba Server.

Fedora goes through the menu option, System -> Administration -> Server Settings -> Samba.

The Samba site points to a GUI page. Using these tools modifies the configuration file.


Samba home page:
Which redirects you to:
How Samba was written:
History of Samba:
Setting up Samba:




Donald James Chiasson 1941-2010

Don Chiasson

OPCUG members will remember Don as an enthusiastic supporter of free software - especially in the "free speech" sense - although Don was also fond of telling us that it was also free as in "free beer"! Don was instrumental in forming the Linux, Free and Open-Source Software Special Interest Group, and several of his presentations to the SIG are posted on the web site.

Ottawa PC News; Volume 27, Number 9; pp. 5; November, 2010