mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
ksmbd-tools: bump to 3.5.6
Major changes are: - Increase max ip connections(8->32) and max connections(128->256). - Unset "guest_ok = yes" for ipc share by default. - add new UCI option "allow_guest_ipc" to section (default disabled) Signed-off-by: Andrea Pesaresi <andreapesaresi82@gmail.com>
This commit is contained in:
committed by
Hannu Nyman
parent
7353b3dd57
commit
0875537051
@@ -1,12 +1,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ksmbd-tools
|
||||
PKG_VERSION:=3.5.5
|
||||
PKG_VERSION:=3.5.6
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://github.com/cifsd-team/ksmbd-tools/releases/download/$(PKG_VERSION)
|
||||
PKG_HASH:=72310cf88723d44cb8144a4fa6aa2c60acf84bdc8bb6384547d6a48bc015af9a
|
||||
PKG_HASH:=8ce27cf947667b634478186aa7ef91fce68461c781d3880693a4639f8fecc397
|
||||
|
||||
PKG_LICENSE:=GPL-2.0-or-later
|
||||
PKG_LICENSE_FILES:=COPYING
|
||||
|
||||
@@ -54,6 +54,7 @@ smb_header()
|
||||
|
||||
config_get_sane workgroup "$1" workgroup "WORKGROUP"
|
||||
config_get_sane description "$1" description "Ksmbd on OpenWrt"
|
||||
config_get_bool ALLOW_GUEST_IPC "$1" allow_guest_ipc 0
|
||||
config_get_bool ALLOW_LEGACY_PROTOCOLS "$1" allow_legacy_protocols 0
|
||||
|
||||
sed -e "s#|NAME|#$hostname#g" \
|
||||
@@ -67,6 +68,10 @@ smb_header()
|
||||
|
||||
printf "\n######### Dynamic written config options #########\n"
|
||||
|
||||
if [ "$ALLOW_GUEST_IPC" -eq 1 ]; then
|
||||
logger -p daemon.info -t 'ksmbd' "Guest access to the IPC$ share is enabled!"
|
||||
printf "\tguest ok = yes\n"
|
||||
fi
|
||||
if [ "$ALLOW_LEGACY_PROTOCOLS" -eq 1 ]; then
|
||||
logger -p daemon.info -t 'ksmbd' "Legacy Protocols allowed, don't use this option for secure environments!"
|
||||
printf "\tserver min protocol = NT1\n"
|
||||
|
||||
Reference in New Issue
Block a user