LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-11-2007, 01:34 PM   #1
loadedk
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Rep: Reputation: 0
Simple Samba Setup


Hello,

I am newish to linux and have setup an Ubuntu Server 7.10. I am trying to setup samba file sharing and can't find info on how to make public and private shares. I am running a workgroup with 2 users and need a public area we can both access as well as a private area accessible only to each of the users respectively. Any ideas?

Here is my smb.conf -

Quote:
[global]
workgroup = WORKGROUP
server string = ubuntuserver
log file = /var/log/log.%m
max log size = 50
security = user
encrypt passwords = yes
socket options = TCP_NODELAY
preferred master = yes

[homes]
comment = Home Directories
browseable = no
writeable = yes

[public]
comment = Public
path = /usr/smbroot/public
public = no
writeable = yes
write list = @public
directory mask = 0770
create mask = 0770

[private]
comment = Private
path = /usr/smbroot/private
public = no
writeable = yes
valid users = @private
write list = @private
directory mask = 0770
create mask = 0770

Last edited by loadedk; 12-11-2007 at 01:56 PM. Reason: added smb.conf
 
Old 12-11-2007, 04:15 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Have you had a chance to look through the Samba docs at http://samba.ausics.net/samba/docs/man/Samba-Guide/ and http://samba.ausics.net/samba/docs/m...TO-Collection/? They cover a lot of scenarios and should give you what you need.
 
Old 12-12-2007, 11:40 AM   #3
loadedk
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you. Thats exactly what I needed. Got it working now!
 
  


Reply

Tags
networking, samba


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
simple samba setup ok4life Linux - Networking 1 02-19-2007 04:23 PM
anyone have a simple samba - xp setup they want to share? mdm0173 Linux - Software 4 10-06-2006 03:40 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 05:54 PM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 07:27 AM
Simple network setup filburt1 Linux - Wireless Networking 12 03-15-2004 08:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration