-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSMB.page
More file actions
45 lines (33 loc) · 1.3 KB
/
SMB.page
File metadata and controls
45 lines (33 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Icon="icons/windows-icon.png"
Menu="NetworkServices"
Title="SMB"
Type="xmenu"
---
<form markdown="1" name="SMBEnable" method="POST" action="/update.htm" target="progressFrame">
Enable SMB:
: <select name="shareSMBEnabled" size="1">
<?=mk_option($var['shareSMBEnabled'], "no", "No");?>
<?=mk_option($var['shareSMBEnabled'], "yes", "Yes (Workgroup)");?>
<? if ($var['featureSecurityAds']): ?>
<?=mk_option($var['shareSMBEnabled'], "ads", "Yes (Active Directory)");?>
<? else: ?>
<?=mk_option($var['shareSMBEnabled'], "ads", "Yes (Active Directory)", "disabled");?>
<? endif; ?>
</select>
> Select 'Yes (Workgroup)' to enable SMB (Windows Networking) protocol support. This
> also enables Windows host discovery.
>
> Select 'Yes (Active Directory)' to enable Active Directory integration.
>
> Note: changing this value with array Started may cause a brief interruption in network services.
<? if ($var['fsState']=="Started"): ?>
: <input type="submit" name="changeShare" value="Apply" disabled>
<button type="button" onClick="done();">Done</button>
: Array must be **Stopped** to change.
<? else: ?>
: <input type="submit" name="changeShare" value="Apply">
<button type="button" onClick="done();">Done</button>
<? endif; ?>
</form>