Paste #141686 |
pasted on 17.08.2020 15:21
- Edit to this paste
- Raw
- The following pastes replied to this paste: # 158130 # 163547 # 182949 # 221244
- Show paste tree
-
Compare with paste
#
Text paste
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 | [global] client min protocol = NT1 client max protocol = SMB3 server max protocol = SMB3 server min protocol = NT1 workgroup = MYGROUP server string = SmbSrv security = user ; Следующая строка нужна для беспарольного доступа гостя map to guest = bad user log file = /var/log/samba/log.%m max log size = 50 ; wins support = yes ; wins server = w.x.y.z ; wins proxy = yes dns proxy = no [homes] comment = Home Directories browseable = no writable = yes [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writable = no printable = yes [pub] path = /home/pub public = yes only guest = yes writable = yes printable = no browseable = yes guest ok = yes read only = no create mask = 0777 directory mask = 0777 #В fstab клиента прописываешь # //IPэтогокомпа/pub /mnt/smbshara cifs user,username=nobody,password= 0 0 |