luci-app-ksmbd: add option to set guest on IPC$ share
Some checks failed
LuCI repo CodeQL Analysis / Analyze JavaScript and JSON (javascript-typescript) (push) Has been cancelled

From ksmbd-3.5.6 IPC$ guest is disabled by default.
This commit can restore guest access to IPC$ by check the option "Allow guest on IPC$"

Signed-off-by: Andrea Pesaresi <andreapesaresi82@gmail.com>
This commit is contained in:
Andrea Pesaresi
2025-12-05 21:39:10 +01:00
committed by Hannu Nyman
parent 9a913af664
commit 02a4c753cd

View File

@@ -54,6 +54,9 @@ return view.extend({
o = s.taboption('general', form.Value, 'description', _('Description'));
o.placeholder = 'Ksmbd on OpenWrt';
o = s.taboption('general', form.Flag, 'allow_guest_ipc', _('Allow guest on IPC$.'),
_('Add optional guest access to IPC$ share, disabled by default'));
o = s.taboption('general', form.Flag, 'allow_legacy_protocols', _('Allow legacy (insecure) protocols/authentication.'),
_('Allow legacy smb(v1)/Lanman connections, needed for older devices without smb(v2.1/3) support.'));