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).ntfy
parent
14c7b1fcc1
commit
948079dafa
|
@ -1,4 +1,5 @@
|
|||
samba_dc_use_rfc2307: true
|
||||
samba_is_first_dc: false
|
||||
samba_dc_log_level: 3
|
||||
workgroup: '{{ krb5_realm.split(".")[0] if krb5_realm is defined else "WORKGROUP" }}'
|
||||
winbind_template_homedir: /home/%U
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue