Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

Rep: Reputation: 0
Simple Samba Setup


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 -

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

comment = Home Directories
browseable = no
writeable = yes

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

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 02:56 PM. Reason: added smb.conf
Old 12-11-2007, 05:15 PM   #2
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 and They cover a lot of scenarios and should give you what you need.
Old 12-12-2007, 12:40 PM   #3
LQ Newbie
Registered: Dec 2007
Posts: 4

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


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 05:23 PM
anyone have a simple samba - xp setup they want to share? mdm0173 Linux - Software 4 10-06-2006 04:40 AM
I need the content from rtg2001 Linux - Networking 1 08-05-2004 06:54 PM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 08:27 AM
Simple network setup filburt1 Linux - Wireless Networking 12 03-15-2004 09:44 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:15 AM.

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