Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions net/ksmbd-tools/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 5 additions & 0 deletions net/ksmbd-tools/files/ksmbd.init
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand All @@ -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"
Expand Down