-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmb.conf
104 lines (77 loc) · 1.92 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[global]
dos charset = 1
server string = cp936
map to guest = %h server (Samba, Ubuntu)
obey pam restrictions = Bad User
pam password change = Yes
passwd program = Yes
passwd chat = /usr/bin/passwd
unix password sync = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* % n\n *password\supdated\ssuccessfully* .
syslog = Yes
log file = 0
max log size = /var/log/samba/log.missing_valuem
dns proxy = 1000
usershare allow guests = No
panic action = Yes
idmap config * : backend = tdb
[admin]
path = /nas/admin
valid users = admin
force users = nobody
force group = nogroup
read only = No
create mask = 0777
directory mask = 0777
guest ok = Yes
[public]
path = /nas/public
force users = nobody
force group = nogroup
read only = No
create mask = 0777
directory mask = 0777
guest ok = Yes
write list = oem, public, admin
[repos]
path = /nas/repos
force users = nobody
force group = nogroup
read only = No
create mask = 0777
directory mask = 0777
guest ok = Yes
write list = admin
[release]
path = /nas/public
force users = nobody
force group = nogroup
read only = No
create mask = 0777
directory mask = 0777
guest ok = Yes
write list = admin
[tmp]
path = /nas/tmp
force users = nobody
force group = nogroup
read only = No
create mask = 0777
directory mask = 0777
guest ok = Yes
[oem]
path = /nas/tmp
valid users = oem, admin
force users = nobody
force group = nogroup
read only = No
create mask = 0777
directory mask = 0777
guest ok = Yes
[work]
path = /nas/work
force users = nobody
force group = nogroup
read only = No
create mask = 0777
directory mask = 0777
guest ok = Yes