Force minimum of SMB2

Force a minimum of SMB2 by default as recommended here: https://blogs.technet.microsoft.com/filecab/2016/09/16/stop-using-smb1/
This commit is contained in:
Andrew Ferrier 2017-07-07 16:23:13 +01:00 committed by GitHub
parent 14c3a1856f
commit 8a92b0d142

View File

@ -27,6 +27,7 @@ RUN export DEBIAN_FRONTEND='noninteractive' && \
echo ' vfs objects = recycle' >>/etc/samba/smb.conf && \
echo ' recycle:keeptree = yes' >>/etc/samba/smb.conf && \
echo ' recycle:versions = yes' >>/etc/samba/smb.conf && \
echo ' min protocol = SMB2' >>/etc/samba/smb.conf && \
echo '' >>/etc/samba/smb.conf && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/*