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
|
cat < > /usr/local/etc/smb4.conf
[global]
workgroup = WORKGROUP
server string = FreeBSD
security = user
hosts allow = 192.168.100.
guest ok = no
unix charset = UTF-8
dos charset = CP932
max protocol = SMB2
netbios name = fileserver
create mask = 600
directory mask = 700
printing = bsd
unix extensions = no
nt acl support = yes
inherit acls = no
map acl inherit = yes
[fileserver]
comment = File Server
path = /media/hdd1/samba
browseable = yes
writable = yes
EOS
|