openSUSE Forums > Network/Internet » [users] and [group] samba shares

Go Back   openSUSE Forums > Network/Internet
Forums FAQ Members List Search Today's Posts Mark Forums Read


Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 23-Oct-2009, 15:14
Easgs's Avatar
Explorer Penguin
 
Join Date: Jun 2008
Posts: 157
Easgs hasn't been rated much yet
Default [users] and [group] samba shares

What are the [users] and [groups] shares in the smb.conf file good for?

This is the content

[users]
comment= All users
path= /home
read only = no
inherit acls = yes
veto files = /aquota.user/groups/shares/

[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = yes


thanks
Reply With Quote
  #2 (permalink)  
Old 23-Oct-2009, 17:32
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,870
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: [users] and [group] samba shares

Here are some quotes about them:

Quote:
[users] Sharing the /home Directories to all Users: This share exposes the whole of the directories under /home on the server to users on the LAN who can supply any valid Linux username + Samba Password pair.

Users can see other users' directories and have read/write access to their own directories. This is a lower security share that the [homes] share.

Users on both Windows and Linux clients must authenticate (supply a correct username/Samba password). You can address these shares by drilling down in your network browser or by using the network addresses like smb://dell103/users or smb://dell103/users/a_username and also smb://192.168.1.2/...etc... Of course, Windows has a slightly different version of this addressing too (e.g. \\dell103\users\john etc etc).
Quote:
[groups] A Share for all Users: This share is accessible to all users. You must create the directory, groups, specified by the path parameter. Create it as root under the directory /home.

It will be a read-only share, great for sharing media or other archival files. If you want it to be a writable share you need to change the permissions on /home/groups from drwxr-xr-x to drwxrwxrwx. You can do that with the shell command sudo chmod 777 /home/groups.
The quotes are from here: The Suse/openSUSE Default Shares
__________________
Drop in and visit some time.
Reply With Quote
Reply

Bookmarks


Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2