configuration-templates – Blame information for rev 96

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 ##
96 office 20 ## |-- smb.conf.share ##
21 ## `-- smb.conf.ldap ##
81 office 22 ## ##
23 ## Files Description: ##
96 office 24 ## * /etc/samba/smb.conf (this file) ##
81 office 25 ## * /etc/samba/smb.conf.local (local server-site settings) ##
96 office 26 ## * /etc/samba/smb.conf.share (samba shares go here) ##
27 ## * /etc/samba/smb.conf.ldap (optional ldab configuration) ##
81 office 28 ## ##
29 ###########################################################################
30  
31 [homes]
32 comment = Home Directories
33 read only = No
34 create mask = 0700
35 directory mask = 0700
36 browseable = No
37  
38 [www]
39 comment = Websites
40 path = /var/www
41 valid users = root www-data
42 # Create file under this user - useful for seamlessly copying files.
43 force user = www-data
44 force group = www-data
45 read only = No
46 create mask = 0664
47 force create mode = 0664
48 force directory mode = 0755