r/samba-dc: Configure samba logging

Send logs to the systemd journal for easier viewing and disable logging
to a file.  Also, the `samba_dc_log_level` variable can control the log
level (0-10, 0 being off, 10 being insane debugging).
This commit is contained in:
2021-11-07 16:18:51 -06:00
parent 14c7b1fcc1
commit 948079dafa
2 changed files with 6 additions and 0 deletions

View File

@@ -4,6 +4,11 @@
realm = {{ krb5_realm }}
server role = active directory domain controller
workgroup = {{ workgroup }}
timestamp logs = no
logging = systemd file@0
log level = {{ samba_dc_log_level }}
{% if samba_dc_use_rfc2307 %}
idmap_ldb:use rfc2307 = yes
{% endif %}