From c92efbcd21edfa7421d3828bcae7b037be2b97df Mon Sep 17 00:00:00 2001 From: LEAN-ESX Date: Sat, 12 Oct 2019 08:24:08 -0700 Subject: [PATCH] samba36: smb.conf.template socktet settings --- package/network/services/samba36/Makefile | 2 +- package/network/services/samba36/files/smb.conf.template | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/network/services/samba36/Makefile b/package/network/services/samba36/Makefile index b63c2eaad..4471f6f67 100644 --- a/package/network/services/samba36/Makefile +++ b/package/network/services/samba36/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=samba PKG_VERSION:=3.6.25 -PKG_RELEASE:=13 +PKG_RELEASE:=15 PKG_SOURCE_URL:=https://download.samba.org/pub/samba \ https://download.samba.org/pub/samba/stable diff --git a/package/network/services/samba36/files/smb.conf.template b/package/network/services/samba36/files/smb.conf.template index fc72f9258..fb82732d9 100644 --- a/package/network/services/samba36/files/smb.conf.template +++ b/package/network/services/samba36/files/smb.conf.template @@ -9,7 +9,7 @@ deadtime = 30 enable core files = no invalid users = root - local master = no + local master = yes map to guest = Bad User max protocol = SMB2 min receivefile size = 16384 @@ -17,4 +17,5 @@ passdb backend = smbpasswd security = user smb passwd file = /etc/samba/smbpasswd + socket options = TCP_NODELAY IPTOS_LOWDELAY use sendfile = yes