Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kdc: allow custom log location + move logging configuration to appropriate file #77

Open
jusstol opened this issue Jul 4, 2023 · 0 comments

Comments

@jusstol
Copy link
Contributor

jusstol commented Jul 4, 2023

The locations of krb5libs.log, krb5kdc.log and kadmind.log are hard coded in roles/ldap_kerberos/templates/krb5.conf.j2 :

[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log

Can we create new variables to allow some customization ?


Also, according to the MIT, the krb5.conf file may contain the following sections :

  • [libdefaults]
  • [realms]
  • [domain_realm]
  • [capaths]
  • [appdefaults]
  • [plugins]

And the kdc.conf file may contain the following ones :

  • [kdc_defaults]
  • [realms]
  • [dbdefaults]
  • [dbmodules]
  • [logging] 👈

Even if there is the includedir /etc/krb5.conf.d/ at the top, I feel like the logging section should move to the kdc.conf.j2 template to comply with the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant