Files
ansible-pull/roles/domaincontroller/templates/smb.conf.j2
2026-01-12 14:31:06 +01:00

22 lines
686 B
Django/Jinja

# This file is managed by Ansible
[global]
netbios name = {{ ansible_facts['hostname'] | upper }}
realm = {{ samba_realm }}
server role = active directory domain controller
workgroup = {{ samba_workgroup }}
tls enabled = yes
tls keyfile = /etc/letsencrypt/live/{{ ansible_facts['fqdn'] }}/privkey.pem
tls certfile = /etc/letsencrypt/live/{{ ansible_facts['fqdn'] }}/fullchain.pem
template homedir = /home/%U
template shell = /bin/zsh
[sysvol]
path = /var/lib/samba/sysvol
read only = No
[netlogon]
path = /var/lib/samba/sysvol/{{ samba_realm | lower }}/scripts
read only = No