• logging stanza in krb5.conf?

    From Dan Mahoney@21:1/5 to All on Wed Apr 16 20:40:45 2025
    All,

    Maybe this is a docbug, but we had the following stanza in our krb5.conf, on our KDC's running MIT krb5 1.21.3 (FreeBSD pkg).

    [logging]
    kdc = FILE:/var/log/krb5kdc
    admin_server = FILE:/var/log/kadmin
    default = FILE:/var/log/krb5

    And I recently discovered that the krb5kdc process wasn't reading/honoring those files, unless the statements were in kdc.conf.

    In the documentation for krb5-devel (https://web.mit.edu/kerberos/krb5-devel/doc/admin/conf_files/krb5_conf.html#krb5-conf-5) krb5.conf doesn't have [logging] listed as a possible config section, but an older version (https://web.mit.edu/kerberos/krb5-1.
    4/krb5-1.4.1/doc/krb5-admin/krb5.conf.html#krb5.conf) does list that section. So clearly kdc.conf is the right place, and I'm updating our configs, since logging seems to do nothing in krb5.conf.

    Can someone say when this changed? I don't see mention of it in the changelog.

    -Dan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Dan Mahoney on Wed May 28 04:43:06 2025
    On Wed, 16 Apr 2025 20:40:45 -0700, Dan Mahoney wrote:

    Maybe this is a docbug, but we had the following stanza in our
    krb5.conf, on our KDC's running MIT krb5 1.21.3 (FreeBSD pkg).

    [logging]
    kdc = FILE:/var/log/krb5kdc
    admin_server = FILE:/var/log/kadmin
    default = FILE:/var/log/krb5

    And I recently discovered that the krb5kdc process wasn't
    reading/honoring those files, unless the statements were in kdc.conf.

    I’m new to Kerberos, but all the docs I’ve seen so far say it should go in krb5.conf, which I found surprising, since I thought all server-specific settings should go in kdc.conf.

    Glad to know the documentation is wrong, and the software is correct. ;)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)