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:
parent
14c3a1856f
commit
8a92b0d142
@ -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/*
|
||||
|
Loading…
Reference in New Issue
Block a user