summaryrefslogtreecommitdiff
path: root/roles/elevate/media/templates/smb.conf.j2
blob: e33aed7eb4624b898586ec252149cddcaa8dcce5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#======================= Global Settings =======================

[global]
   workgroup = elevate
   server string = %h - Elevate Fesitval Fileserver
   wins support = no
   dns proxy = no

   load printers = no
   printcap name = /dev/null
   disable spoolss = yes

#### Networking ###
#   socket options = SO_KEEPALIVE IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
   socket options = TCP_NODELAY

#### Debugging/Accounting ####
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   panic action = /usr/share/samba/panic-action %d

####### Authentication #######
   security = user
   server role = standalone server
   map to guest = bad user
   guest account = share


#======================= Share Definitions =======================

[share]
  comment = Shared Space
  path = /srv/smbdata/share
  browseable = yes
  read only = no
  guest ok = yes
  create mask = 0664
  force create mode = 0664
  directory mask = 2775
  force directory mode = 2775

[nextcloud]
  comment = Read-Only Access to Nextcloud Files
  path = /srv/smbdata/nextcloud
  browseable = yes
  read only = yes
  guest ok = yes