smb.conf: Server now offers encryption by default.
This commit is contained in:
parent
d407fa1b62
commit
9bd1ed2f39
@ -40,6 +40,7 @@ RUN apk --no-cache --no-progress upgrade && \
|
|||||||
echo ' recycle:versions = yes' >>$file && \
|
echo ' recycle:versions = yes' >>$file && \
|
||||||
echo '' >>$file && \
|
echo '' >>$file && \
|
||||||
echo ' # Security' >>$file && \
|
echo ' # Security' >>$file && \
|
||||||
|
echo ' smb encrypt = auto' >>$file && \
|
||||||
echo ' client ipc max protocol = SMB3' >>$file && \
|
echo ' client ipc max protocol = SMB3' >>$file && \
|
||||||
echo ' client ipc min protocol = SMB2_10' >>$file && \
|
echo ' client ipc min protocol = SMB2_10' >>$file && \
|
||||||
echo ' client max protocol = SMB3' >>$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",\
|
VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba", "/var/log/samba",\
|
||||||
"/run/samba"]
|
"/run/samba"]
|
||||||
|
|
||||||
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"]
|
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user