Compare Pastes
Differences between the pastes
#141686 (17.08.2020 15:21)
and
#221244 (18.09.2021 00:16).
1 | [global] | |
2 | client min protocol = NT1 | |
3 | client max protocol = SMB3 | |
4 | server max protocol = SMB3 | |
5 | server min protocol = NT1 | |
6 | workgroup = MYGROUP | |
7 | server string = SmbSrv | |
8 | security = user | |
9 | ; Следующая строка нужна для беспарольного доступа гостя | |
10 | map to guest = bad user | |
11 | log file = /var/log/samba/log.%m | |
12 | max log size = 50 | |
13 | ; wins support = yes | |
14 | ; wins server = w.x.y.z | |
15 | ; wins proxy = yes | |
16 | dns proxy = no | |
17 | ||
18 | [homes] | |
19 | comment = Home Directories | |
20 | browseable = no | |
21 | writable = yes | |
22 | ||
23 | [printers] | |
24 | comment = All Printers | |
25 | path = /var/spool/samba | |
26 | browseable = no | |
27 | guest ok = no | |
28 | writable = no | |
29 | printable = yes | |
30 | ||
31 | [pub] | |
32 | path = /home/pub | |
33 | public = yes | |
34 | only guest = yes | |
35 | writable = yes | |
36 | printable = no | |
37 | browseable = yes | |
38 | guest ok = yes | |
39 | read only = no | |
40 | create mask = 0777 | |
41 | directory mask = 0777 | |
42 | ||
43 | #В fstab клиента прописываешь |