diff --git a/Dockerfile b/Dockerfile index 42683b0..1c4b807 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/* @@ -36,4 +37,4 @@ VOLUME ["/etc/samba"] EXPOSE 137/udp 138/udp 139 445 -ENTRYPOINT ["samba.sh"] \ No newline at end of file +ENTRYPOINT ["samba.sh"]