From 9bd1ed2f3978d4e872888a0a2fcfd6e6a422118c Mon Sep 17 00:00:00 2001 From: jtagcat Date: Sun, 19 Jul 2020 20:40:52 +0300 Subject: [PATCH] smb.conf: Server now offers encryption by default. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d0e1311..b1cb1a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,6 +40,7 @@ RUN apk --no-cache --no-progress upgrade && \ echo ' recycle:versions = yes' >>$file && \ echo '' >>$file && \ echo ' # Security' >>$file && \ + echo ' smb encrypt = auto' >>$file && \ echo ' client ipc max protocol = SMB3' >>$file && \ echo ' client ipc min protocol = SMB2_10' >>$file && \ echo ' client max protocol = SMB3' >>$file && \ @@ -65,4 +66,4 @@ HEALTHCHECK --interval=60s --timeout=15s \ VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba", "/var/log/samba",\ "/run/samba"] -ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"] \ No newline at end of file +ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"]