ksmbd-tools: bump to 3.5.6
authorAndrea Pesaresi <[email protected]>
Fri, 5 Dec 2025 19:49:36 +0000 (20:49 +0100)
committerHannu Nyman <[email protected]>
Fri, 5 Dec 2025 21:56:26 +0000 (22:56 +0100)
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]>
net/ksmbd-tools/Makefile
net/ksmbd-tools/files/ksmbd.init

index 2efa2ba7fae8484b2e89ebeadacd5b8ea90a660b..0f09c1cc31d2bc436ba251ef3d14e3a05557c567 100644 (file)
@@ -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
index 1a43d9953736740afe5a38b923a79b03fd22176a..f87b392bde76af679142265b1349e44b9c359bfd 100644 (file)
@@ -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"