luci-app-ksmbd: add option to set guest on IPC$ share master
authorAndrea Pesaresi <[email protected]>
Fri, 5 Dec 2025 20:39:10 +0000 (21:39 +0100)
committerHannu Nyman <[email protected]>
Sat, 6 Dec 2025 08:43:33 +0000 (09:43 +0100)
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 <[email protected]>
applications/luci-app-ksmbd/htdocs/luci-static/resources/view/ksmbd.js

index 4690a5a301c15d10ee0e4fab3f323f058cded1b0..54642d097b741dc284d86297cb778181f8aea2dd 100644 (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.'));