preparation for role domaincontroller
This commit is contained in:
21
roles/domaincontroller/templates/smb.conf.j2
Normal file
21
roles/domaincontroller/templates/smb.conf.j2
Normal file
@@ -0,0 +1,21 @@
|
||||
# This file is managed by Ansible
|
||||
[global]
|
||||
netbios name = {{ ansible_hostname | upper }}
|
||||
realm = {{ samba_realm }}
|
||||
server role = active directory domain controller
|
||||
workgroup = {{ samba_workgroup }}
|
||||
|
||||
tls enabled = yes
|
||||
tls keyfile = /etc/letsencrypt/live/{{ ansible_fqdn }}/privkey.pem
|
||||
tls certfile = /etc/letsencrypt/live/{{ ansible_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
|
||||
Reference in New Issue
Block a user