summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-samba4/htdocs
diff options
context:
space:
mode:
authorAndy Walsh <andy.walsh44+github@gmail.com>2020-02-09 23:37:16 +0100
committerAndy Walsh <andy.walsh44+github@gmail.com>2020-02-15 15:52:44 +0100
commit1158378f0d39ec4b6d9dc0d4f3909cb1b5d0de84 (patch)
treec26f84b99dc09d066bcdff95178a53c9561f0e84 /applications/luci-app-samba4/htdocs
parent2c2cfaebf1ec8d9baaef95973ff98785141fc76b (diff)
luci-app-samba4: add support for new UCI option
* add support for new UCI option "allow_legacy_protocols" Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
Diffstat (limited to 'applications/luci-app-samba4/htdocs')
-rw-r--r--applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js b/applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js
index 7aface6ec..48779c91c 100644
--- a/applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js
+++ b/applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js
@@ -43,6 +43,9 @@ return L.view.extend({
o = s.taboption('general', form.Flag, 'macos', _('Enable macOS compatible shares'),
_('Enables Apple\'s AAPL extension globally and adds macOS compatibility options to all shares.'));
+
+ 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.'));
if (stats[2].type === 'file') {
s.taboption('general', form.Flag, 'disable_netbios', _('Disable Netbios'))