Samba File Share

Hi All

I'm new to Linux so please be patient with me. I set up a Fedora 7 server with widows file sharing set up on a new installation. What I need to know is how to set up a public folder on this machine so that network user1 and user2 can share.
blnukemAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pétur Ingi EgilssonSoftware Engineer -- ConsultantCommented:
[storage]
comment = Storage (public files)
writable = no
path = /usr/files/storage
public = yes
only guest = yes
guest account = nobody
browsable = yes
0
Pétur Ingi EgilssonSoftware Engineer -- ConsultantCommented:
You might want to set "writable = yes"
0
blnukemAuthor Commented:
OK

Not to sound to stupid, but what do I do with that? Please remember I'm new to Linux.
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

Pétur Ingi EgilssonSoftware Engineer -- ConsultantCommented:
[storage]  <- this is the "share name"
comment = Storage (public files) <- this is the "comment"
writable = no <- this says the share is writable for those with premission
path = /usr/files/storage <- this is the path to the share on the local folder on the server
public = yes <- this says the share is public
only guest = yes <- says the share is only for guests, eg. you cannot login to it with your username\password
guest account = nobody <- all guests will be treated as "nobody", nobody in unix means no user account
browsable = yes <- the share can be seen in the available share list if you do \\servername\ from a windows machine.
0
olehbCommented:
First of all it would be helpful to know what Linux distro & Desktop environment do you use. Second, what type of sharing will you prefer, even in Windows there are different types of security related to sharing folders. There are nice GUI frontend for newbies, like Control Center in KDE.
0
blnukemAuthor Commented:

olehb

Linux distro: Fedora 7
Desktop environment: KDE

Windows types security: I'd like to use the simplest
0
olehbCommented:
The simplest is "share" security. If you expect connections from user that don't exist on the UNIX box then use security = share. You should also use security = share if you want to mainly setup shares without a password (guest shares). This is commonly used for a shared printer server. However "user" level is also not so complex.
Preliminary steps:
1. Locate and launch Control Center. I use SUSE Linux so can't say exactly where to find it, but should be pretty straightforward, somewhere in configuration menu.
2. Go "Internet & Network" -> "Samba". Here you might need use you root password to enter "Administration mode".
3. Fill name of workgroup you are going to use, choose security level "share" or "user".
4. If you use "user" level, enable option "Allow guest logins" as well.
5. Go "File sharing" menu and activate "Simple sharing".
6. Launch command as root (via sudo or su): /etc/init.d/smb restart

Below is link with similar description.
http://docs.pclinuxos.com/SettingUpFileSharing
0
Pétur Ingi EgilssonSoftware Engineer -- ConsultantCommented:
#As root open up the file /etc/samba/smb.conf
su  <- then enter the root password
nano /etc/samba/smb.conf  <- if nano does not work, try pico, if pico does not work use you can launch "gedit" and browse the file
#append this to the smb.conf file

[storage]
comment = Storage (public files)
writable = no
path = /usr/files/storage  <- Change this to the directory you would like to share
public = yes
only guest = yes
guest account = nobody
browsable = yes

#save and exit, the program your using to edit the file

#next you need to restart two service, `smb` and `nmb`, as root type:
service smb restart
service nmb restart

#your share is now up and running
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.