forked from saltstack-formulas/samba-formula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpillar.example
45 lines (43 loc) · 960 Bytes
/
pillar.example
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
samba_sections:
global:
workgroup: MYGROUP
server string: "Samba Server"
printcap name: /etc/printcap
load printers: yes
log file: "/var/log/samba/%m.log"
max log size: 50
security: user
dns proxy: no
homes:
comment: "Home Directories"
browseable: no
writeable: yes
printers:
comment: "All Printers"
path: /var/spool/samba
browseable: no
guest ok: no
writeable: no
printable: yes
sharename:
comment: "This is a shared directory"
browseable: yes
writeable: yes
valid users: @sharegroup
force group: sharegroup
create mask: '0660'
directory mask: '2770'
user1share:
comment: "user1 samba share"
path: /usr/somewhere/private
valid users: user1
create mode: '0660'
directory mode: '0770'
public: no
writable: yes
printable: no
samba_users:
user1:
password: user1sambapassword
user2:
password: user2sambapassword