Skip to content

Commit 02a4c75

Browse files
pesa1234hnyman
authored andcommitted
luci-app-ksmbd: add option to set guest on IPC$ share
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]>
1 parent 9a913af commit 02a4c75

File tree

1 file changed

+3
-0
lines changed
  • applications/luci-app-ksmbd/htdocs/luci-static/resources/view

1 file changed

+3
-0
lines changed

applications/luci-app-ksmbd/htdocs/luci-static/resources/view/ksmbd.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ return view.extend({
5454
o = s.taboption('general', form.Value, 'description', _('Description'));
5555
o.placeholder = 'Ksmbd on OpenWrt';
5656

57+
o = s.taboption('general', form.Flag, 'allow_guest_ipc', _('Allow guest on IPC$.'),
58+
_('Add optional guest access to IPC$ share, disabled by default'));
59+
5760
o = s.taboption('general', form.Flag, 'allow_legacy_protocols', _('Allow legacy (insecure) protocols/authentication.'),
5861
_('Allow legacy smb(v1)/Lanman connections, needed for older devices without smb(v2.1/3) support.'));
5962

0 commit comments

Comments
 (0)