diff options
Diffstat (limited to 'roles/elevate/media/templates/smb.conf.j2')
-rw-r--r-- | roles/elevate/media/templates/smb.conf.j2 | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/roles/elevate/media/templates/smb.conf.j2 b/roles/elevate/media/templates/smb.conf.j2 new file mode 100644 index 00000000..e33aed7e --- /dev/null +++ b/roles/elevate/media/templates/smb.conf.j2 @@ -0,0 +1,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 |