Skip to content

Commit 0875537

Browse files
pesa1234hnyman
authored andcommitted
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 <[email protected]>
1 parent 7353b3d commit 0875537

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

net/ksmbd-tools/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
include $(TOPDIR)/rules.mk
22

33
PKG_NAME:=ksmbd-tools
4-
PKG_VERSION:=3.5.5
4+
PKG_VERSION:=3.5.6
55
PKG_RELEASE:=1
66

77
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
88
PKG_SOURCE_URL:=https://github.com/cifsd-team/ksmbd-tools/releases/download/$(PKG_VERSION)
9-
PKG_HASH:=72310cf88723d44cb8144a4fa6aa2c60acf84bdc8bb6384547d6a48bc015af9a
9+
PKG_HASH:=8ce27cf947667b634478186aa7ef91fce68461c781d3880693a4639f8fecc397
1010

1111
PKG_LICENSE:=GPL-2.0-or-later
1212
PKG_LICENSE_FILES:=COPYING

net/ksmbd-tools/files/ksmbd.init

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ smb_header()
5454

5555
config_get_sane workgroup "$1" workgroup "WORKGROUP"
5656
config_get_sane description "$1" description "Ksmbd on OpenWrt"
57+
config_get_bool ALLOW_GUEST_IPC "$1" allow_guest_ipc 0
5758
config_get_bool ALLOW_LEGACY_PROTOCOLS "$1" allow_legacy_protocols 0
5859

5960
sed -e "s#|NAME|#$hostname#g" \
@@ -67,6 +68,10 @@ smb_header()
6768

6869
printf "\n######### Dynamic written config options #########\n"
6970

71+
if [ "$ALLOW_GUEST_IPC" -eq 1 ]; then
72+
logger -p daemon.info -t 'ksmbd' "Guest access to the IPC$ share is enabled!"
73+
printf "\tguest ok = yes\n"
74+
fi
7075
if [ "$ALLOW_LEGACY_PROTOCOLS" -eq 1 ]; then
7176
logger -p daemon.info -t 'ksmbd' "Legacy Protocols allowed, don't use this option for secure environments!"
7277
printf "\tserver min protocol = NT1\n"

0 commit comments

Comments
 (0)