Настройка samba

Post Reply
User avatar
Hellfireson
Администратор
Posts: 62
Joined: 14 Oct 2017, 14:03

Настройка samba

Post by Hellfireson »

Ставим:

Code: Select all

emerge samba
Правим конфиг /etc/samba/smb.conf
Для примера оставлю тут свой:

Code: Select all

[global]
   workgroup = WORKGROUP
   security = user
   map to guest = bad user
   wins support = no
   dns proxy = no
   hosts allow = 192.168.

[Video3Tb]
   comment = Video 3Tb
   path = /mnt/video3tb
   browseable = yes
   writable = yes
   read only = no
   guest ok = yes
   force user = nobody

[Video4Tb]
   comment = Video 4Tb
   path = /mnt/video4tb
   browseable = yes
   writable = yes
   read only = no
   guest ok = yes

[Series3Tb]
   comment = Series 3Tb
   path = /mnt/series3tb
   browseable = yes
   writable = yes
   read only = no
   guest ok = yes

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = no
   writable = no
   printable = yes
hosts allow = 192.168. прописано для ограничения доступа из интернета, доступ будет только с локальных адресов.
Post Reply