Page MenuHomeFreeBSD

rc.d: Add MIT KRB5 krb5kdc support
ClosedPublic

Authored by cy on Jun 12 2025, 3:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 9:25 AM
Unknown Object (File)
Fri, Oct 10, 9:25 AM
Unknown Object (File)
Fri, Oct 10, 9:25 AM
Unknown Object (File)
Fri, Oct 10, 3:06 AM
Unknown Object (File)
Sun, Oct 5, 12:10 AM
Unknown Object (File)
Fri, Oct 3, 3:08 PM
Unknown Object (File)
Fri, Sep 26, 1:06 AM
Unknown Object (File)
Sun, Sep 21, 2:16 AM
Subscribers
None

Details

Summary

MIT KRB5 krb5kdc differs from the Heimdal kdc.

  • The MIT kdc is named krb5kdc while the Heimdal one is named kdc.
  • krb5kdc -d flag has a different meaning. krb5kdc -d specifies a database name. While the Heimdal kdc uses the -d flag to daemonize it. krb5kdc automaticially daemonizes itself unless the -n flag is specified.

We do this by looking at the name of the kdc program to determine if
we assume it's a Heimdal kdc or the MIT krb5kdc.

Sponsored by: The FreeBSD Foundation

Test Plan

Running here for a month.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

cy requested review of this revision.Jun 12 2025, 3:04 PM
cy created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Jun 16 2025, 2:53 AM
This revision was automatically updated to reflect the committed changes.