Files
configpolicy/roles/samba/templates/smb.conf.j2
Dustin C. Hatch 024f9f719d roles/samba: Remove socket options
The `socket options` directive does not need to be specified in
`smb.conf`. I think I copied it from an example many years ago, and
never bothered to remove it. It is definitely not required, most likely
not helping performance at all, and most likely hindering it.
2018-05-28 09:51:20 -05:00

32 lines
663 B
Django/Jinja

[global]
{% if netbios_name is defined %}
netbios name = {{ netbios_name }}
{% endif %}
workgroup = {{ workgroup }}
{% if krb5_realm is defined %}
realm = {{ krb5_realm }}
{% endif %}
{% if samba_server_role is defined %}
server role = {{ samba_server_role }}
{% else %}
security = {{ samba_security }}
{% endif %}
{% if samba_options is defined %}
{% for option in samba_options %}
{% for key, value in option|dictsort %}
{{ key }} = {{ value }}
{% endfor %}
{% endfor %}
{% endif %}
printing = bsd
printcap name = /dev/null
load printers = no
guest account = nobody
map to guest = Bad User
include = /etc/samba/winbind.conf
include = /etc/samba/shares.conf