Fedora Linux Support Community & Resources Center
  #1  
Old 23rd October 2009, 06:05 PM
Keldorn Offline
Registered User
 
Join Date: Jun 2008
Location: Russia
Age: 26
Posts: 517
linuxfedorafirefox
samba private and guest shares

I am trying to configure samba to have 1 private share (with password promt) and 1 guest share without any password promt.
My samba config is:
Code:
[global]
workgroup = workgroup
server string = Fedora File Server

log file = /var/log/samba/log.%m
max log size = 50

        security = user
        passdb backend = tdbsam
        guest account = guest
        encrypt passwords = yes
        map to guest = Bad User
        invalid user = root
        null passwords = yes
        [share]
        comment = Free for all
        path = /home/share
        public = yes
        browseable = yes
        writable = yes

        private]
        comment = group staff
        path = /home/private
        public = no
        browseable = yes
        writable = yes
        create mask = 0770
        directory mask = 0770
If I am connecting to private share I can't write to public share (from windows pc (it can be solved by rwx permission on folder and rxx masks in samba config, but is this good idea?))
And if I connect first to public share I can't connect to private share.
Is it possible to work with this two shares from Windows pc?
Reply With Quote
  #2  
Old 27th October 2009, 07:49 AM
savage Offline
Registered User
 
Join Date: Jun 2005
Location: Mission Control
Posts: 1,229
linuxfedorafirefox
Can you not just create a group, add the private user to the group, and then set /home/share's group and make it writeable by the group?
Reply With Quote
  #3  
Old 27th October 2009, 08:28 AM
Keldorn Offline
Registered User
 
Join Date: Jun 2008
Location: Russia
Age: 26
Posts: 517
linuxfedorafirefox
Quote:
Originally Posted by savage View Post
Can you not just create a group, add the private user to the group, and then set /home/share's group and make it writeable by the group?
It is a good idea, thank you!
Reply With Quote
Reply

Tags
guest, private, samba, shares

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Guest Account with Password of 'guest' andy_ Servers & Networking 8 18th March 2009 12:17 AM
Samba - can I have public and private shares with FC8 KeithLM Servers & Networking 1 2nd January 2008 06:58 AM
Samba: Windows boxes can't access my FC2 Samba shares iontyre Servers & Networking 13 26th October 2004 04:49 PM


Current GMT-time: 07:08 (Monday, 21-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat