LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba Setup (https://www.linuxquestions.org/questions/linux-networking-3/samba-setup-606099/)

loadedk 12-11-2007 02:02 PM

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 -

[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

nakko 12-12-2007 04:01 AM

Without going too deep into this, your public section should either be set to public = yes, or the valid users should be the list of the approved users for that public space.

loadedk 12-12-2007 11:43 AM

Thank you, I have figured it out.

acid_kewpie 12-12-2007 04:24 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 10:56 AM.