Files
samba-dc/smb.conf.j2
Roman Vaníček 100b127a29
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is failing
Move sysvol and netlogon to smb.conf (only user editable should remain in conf.d).
Use lowercase REALM for netlogon share path.
2023-01-27 11:28:00 +01:00

30 lines
809 B
Django/Jinja

# Generated by entrypoint.sh. Add customizations under /etc/samba/conf.d.
# DO NOT EDIT THIS FILE.
[global]
netbios name = {{ NETBIOS_NAME }}
realm = {{ REALM }}
server role = active directory domain controller
workgroup = {{ WORKGROUP }}
add machine script = /usr/sbin/adduser -D -H -G users -s /bin/false %u
allow dns updates = {{ ALLOW_DNS_UPDATES }}
bind interfaces only = {{ BIND_INTERFACES_ONLY }}
interfaces = {{ INTERFACES }}
log level = {{ LOG_LEVEL }}
winbind refresh tickets = Yes
winbind use default domain = {{ WINBIND_USE_DEFAULT_DOMAIN }}
acl_xattr:ignore system acls = yes
acl_xattr:default acl style = windows
[sysvol]
path = /var/lib/samba/sysvol
read only = No
[netlogon]
path = /var/lib/samba/sysvol/{{ DOMAIN }}/scripts
read only = No
# Empty new-line must follow