diff options
Diffstat (limited to 'projectroot')
-rw-r--r-- | projectroot/etc/samba/smb.conf | 40 | ||||
-rw-r--r-- | projectroot/usr/lib/tmpfiles.d/samba.conf | 2 |
2 files changed, 12 insertions, 30 deletions
diff --git a/projectroot/etc/samba/smb.conf b/projectroot/etc/samba/smb.conf index 188d85c1f..9db5aa2bc 100644 --- a/projectroot/etc/samba/smb.conf +++ b/projectroot/etc/samba/smb.conf @@ -3,36 +3,16 @@ ; consult samba manual page if you wish to make ; changes [global] -; guest account = nobody + workgroup = WORKGROUP server string = PTXdist sample samba server - log file = /var/log/samba-log.%m - lock directory = /var/lock - share modes = yes - security = share - encrypt passwords = no - guest account = root - interfaces = eth0 + security = user + encrypt passwords = yes + invalid users = root + load printers = no + printcap name = /dev/null + disable spoolss = yes [homes] - comment = Home Directories - browseable = no - writable = no - create mask = 0700 - directory mask = 0700 - -[share] - comment = Data Directory - path = /home - browseable = yes - read only = no - create mode = 0750 - public = yes - -[printers] - comment = All Printers - browseable = no - path = /tmp - printable = yes - public = no - writable = no - create mode = 0700 + comment = Home Directories + browseable = no + read only = yes diff --git a/projectroot/usr/lib/tmpfiles.d/samba.conf b/projectroot/usr/lib/tmpfiles.d/samba.conf new file mode 100644 index 000000000..868c586d2 --- /dev/null +++ b/projectroot/usr/lib/tmpfiles.d/samba.conf @@ -0,0 +1,2 @@ +d /var/log/samba/cores 0700 root root - +d /var/lib/samba/private 0700 root root - |