configuration-templates – Blame information for rev 94

Subversion Repositories:
Rev:
Rev Author Line No. Line
81 office 1 ###########################################################################
2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
3 ## Please see: http://www.gnu.org/licenses/gpl.html for legal details, ##
4 ## rights of fair usage, the disclaimer and warranty conditions. ##
5 ###########################################################################
6 ## Optimized standalone configuration template for Samba servers. ##
7 ## ##
8 ## Ideal for: ##
9 ## * Virtual machine file sharing ##
10 ## ##
11 ## Requirements: ##
94 office 12 ## * Samba 4.x ##
81 office 13 ## ##
14 ## File placement layout: ##
15 ## / ##
16 ## `-- etc ##
17 ## `-- samba ##
18 ## |-- smb.conf ##
19 ## |-- smb.conf.local ##
20 ## `-- smb.conf.share ##
21 ## ##
22 ## Files Description: ##
23 ## * /etc/samba/smb.conf (main configuration file) ##
24 ## * /etc/samba/smb.conf.local (local server-site settings) ##
25 ## * /etc/samba/smb.conf.share (this file) ##
26 ## ##
27 ###########################################################################
28  
29 [homes]
30 comment = Home Directories
31 read only = No
32 create mask = 0700
33 directory mask = 0700
34 browseable = No
35  
36 [www]
37 comment = Websites
38 path = /var/www
39 valid users = root www-data
40 # Create file under this user - useful for seamlessly copying files.
41 force user = www-data
42 force group = www-data
43 read only = No
44 create mask = 0664
45 force create mode = 0664
46 force directory mode = 0755