-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmb.conf
31 lines (30 loc) · 843 Bytes
/
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
[global]
workgroup = WORKGROUP
server string = Samba Server
netbios name = smb-server
security = user
map to guest = Bad User
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
server role = standalone server
passdb backend = tdbsam
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
map to guest = bad user
[samba_share]
path = /samba_share
writeable = yes
guest ok = yes
guest only = yes
create mode = 0777
directory mode = 0777
force user = nobody
force group = nogroup
browseable = yes
public = yes