prole/infrastructure/roles/samba_ad_dc/templates/smb.conf.j2

22 lines
814 B
Django/Jinja

# Global parameters
[global]
dns forwarder = {{ samba_ad_dc_dns_forwarders | join(' ') }}
netbios name = {{ (samba_ad_dc_netbios_name | default(inventory_hostname_short)) | upper }}
realm = {{ samba_ad_dc_realm }}
server string = {{ samba_ad_dc_server_string }}
server role = {{ samba_ad_dc_server_role }}
server services = {{ samba_ad_dc_server_services }}
workgroup = {{ samba_ad_dc_workgroup }}
idmap_ldb:use rfc2307 = {{ "yes" if samba_ad_dc_rfc2307 else "no" }}
template homedir = {{ samba_ad_dc_template_homedir }}
template shell = {{ samba_ad_dc_template_shell }}
[sysvol]
path = {{ samba_ad_dc_sysvol_path }}
read only = No
[netlogon]
path = {{ samba_ad_dc_netlogon_path }}
read only = No