diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-03-02 12:41:27 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-03-02 15:43:55 +0100 |
commit | 93fce3eef4fc5ed7fa987cdaeefc83b1afb224bd (patch) | |
tree | 4fb2d20f48851f8f9fd4a295057181d2739c7a99 /projectroot | |
parent | 10e3605477abfabab01fa60c320fff7e6d5776e8 (diff) | |
download | ptxdist-93fce3eef4fc5ed7fa987cdaeefc83b1afb224bd.tar.gz ptxdist-93fce3eef4fc5ed7fa987cdaeefc83b1afb224bd.tar.xz |
samba: version bump 3.0.37 -> 4.9.4
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
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 - |