-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsmb.conf
65 lines (57 loc) · 1.35 KB
/
smb.conf
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[global]
workgroup = WORKGROUP
admin users = root, smbadmin
security = user
map to guest = Bad User
max protocol = SMB2
log file = /var/log/samba/log.%m
max log size = 1000
logging = file
panic action = /usr/share/samba/panic-action %d
server role = standalone server
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
[share]
comment = Public Share
path = /mnt/tank/share
read only = no
browsable = yes
writeable = yes
guest ok = yes
[media]
comment = Media
path = /mnt/tank/media
read only = no
browsable = yes
writeable = yes
guest ok = no
valid users = topi
[topi]
comment = Topi
path = /mnt/tank/topi
read only = no
browsable = yes
writeable = yes
write list = topi
guest ok = no
valid users = topi
[bunker]
comment = Backups
path = /mnt/bunker
read only = no
browsable = yes
writeable = yes
write list = topi
guest ok = no
valid users = topi
[downloads]
comment = Torrent Downloads
path = /mnt/downloads
read only = no
browsable = yes
writeable = yes
write list = topi
guest ok = no