blob: f6200af6f1f5a14478f11ffc7872fc5ac8063b42 (
plain)
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
|
[global]
{% if auth_method == 'winbind' %}
security = ADS
{% elif auth_method == 'files' %}
security = USER
{% else %}
security = BROKEN
{% endif %}
logging = syslog
log level = 1
netbios name = {{ cluster }}
workgroup = {{ samba.workgroup }}
realm = {{ resolv_conf.domain }}
disable netbios = yes
disable spoolss = yes
idmap config * : backend = autorid
idmap config * : range = 1000000-1999999
kernel oplocks = yes
read only = no
{% for s in shares %}
[{{ s.name }}]
path = {{ s.directory }}
comment = Example share {{ s.name }}
guest ok = yes
browseable = yes
{% endfor %}
|