---

IBM developerWorks: Introduction to Samba, Part 3: The configuration stage

[ Thanks to jcondon
for this link. ]

In his previous article, Daniel Robbins guided you through
the process of setting up Samba for the first time. Now it’s time
to configure Samba so that it does everything that you want it to
do.

“While this smb.conf file is functional, all it does is share
the /tmp directory with Windows by creating a share with the name
of “tmp”. Not too exciting. Let’s create another share that could
be more useful. Add the following lines to your smb.conf and
restart Samba.”

   [ftp]
           path=/path/to/ftp/root
           writeable=no

“If you have an ftp site or some kind of file archive on your
Samba server, you can use something like this to share the data
over the network. The “writeable=no” parameter tells Samba that no
one should be allowed to create or modify files on this share.
Anyone who has a valid Samba account set up will be able to access
this share.”


Complete Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis